]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ak4458: add return value for ak4458_probe
authorViorel Suman <viorel.suman@nxp.com>
Thu, 9 May 2019 13:30:36 +0000 (13:30 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 13 May 2019 11:38:01 +0000 (12:38 +0100)
commitd034ca2f29dbc66f77101c44029e33d43f36c165
treeff2755aea745ad2f5fdca99b415737c06087446d
parent9415a6a92112598e443fc213189d1c0b0bb68576
ASoC: ak4458: add return value for ak4458_probe

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 <shengjiu.wang@nxp.com>
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ak4458.c