mbox series

[0/2] ASoC: ak4458: fail on probe if codec is not present

Message ID 1557408607-25115-1-git-send-email-viorel.suman@nxp.com (mailing list archive)
Headers show
Series ASoC: ak4458: fail on probe if codec is not present | expand

Message

Viorel Suman May 9, 2019, 1:30 p.m. UTC
AK4458 is probed successfully even if AK4458 is not present - this
is caused by probe function returning no error on i2c access failure.
The patchset fixes this.

Viorel Suman (2):
  ASoC: ak4458: rstn_control - return a non-zero on error only
  ASoC: ak4458: add return value for ak4458_probe

 sound/soc/codecs/ak4458.c | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)