Re: [alsa-devel] [PATCH V2 2/2] ASoC: ak4458: add return value for ak4458_probe

2019-05-13 Thread Daniel Baluta
On Mon, May 13, 2019 at 1:05 PM Viorel Suman wrote: > > AK4458 is probed successfully even if AK4458 is not present - this > is caused by probe function returning no error on i2c access failure. > Return an error on probe if i2c access has failed. > > Signed-off-by: Shengjiu Wang >

[PATCH V2 2/2] ASoC: ak4458: add return value for ak4458_probe

2019-05-13 Thread Viorel Suman
AK4458 is probed successfully even if AK4458 is not present - this is caused by probe function returning no error on i2c access failure. Return an error on probe if i2c access has failed. Signed-off-by: Shengjiu Wang Signed-off-by: Viorel Suman --- sound/soc/codecs/ak4458.c | 13 +++--