mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V2 0/2] ASoC: ak4458: fail on probe if codec is not present
@ 2019-05-13 10:02 Viorel Suman
  2019-05-13 10:02 ` [PATCH V2 1/2] ASoC: ak4458: rstn_control - return a non-zero on error only Viorel Suman
  2019-05-13 10:02 ` [PATCH V2 2/2] ASoC: ak4458: add return value for ak4458_probe Viorel Suman
  0 siblings, 2 replies; 5+ messages in thread
From: Viorel Suman @ 2019-05-13 10:02 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Viorel Suman, S.j. Wang, Daniel Baluta, Julia Lawall,
	Colin Ian King, alsa-devel, linux-kernel
  Cc: dl-linux-imx, 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.
The patchset fixes this.

Changes since V1:
  Conditional statement rewritten as suggested by Mark.

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 | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-05-13 11:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-13 10:02 [PATCH V2 0/2] ASoC: ak4458: fail on probe if codec is not present Viorel Suman
2019-05-13 10:02 ` [PATCH V2 1/2] ASoC: ak4458: rstn_control - return a non-zero on error only Viorel Suman
2019-05-13 11:12   ` [alsa-devel] " Daniel Baluta
2019-05-13 10:02 ` [PATCH V2 2/2] ASoC: ak4458: add return value for ak4458_probe Viorel Suman
2019-05-13 11:14   ` [alsa-devel] " Daniel Baluta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®