projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f88dfbf
)
ASoC: codecs: tas2780: Fix log of failed reset via I2C.
author
Roy Chateau
<roy.chateau@mep-info.com>
Fri, 13 Oct 2023 11:02:39 +0000
(13:02 +0200)
committer
Mark Brown
<broonie@kernel.org>
Fri, 13 Oct 2023 15:41:16 +0000
(16:41 +0100)
Correctly log failures of reset via I2C.
Signed-off-by: Roy Chateau <roy.chateau@mep-info.com>
Link:
https://lore.kernel.org/r/20231013110239.473123-1-roy.chateau@mep-info.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2780.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/tas2780.c
b/sound/soc/codecs/tas2780.c
index 86bd6c18a944012932d8a366e65b4b0969890b54..41076be238542bbe4ee94a44acff6c2ece4e8d31 100644
(file)
--- a/
sound/soc/codecs/tas2780.c
+++ b/
sound/soc/codecs/tas2780.c
@@
-39,7
+39,7
@@
static void tas2780_reset(struct tas2780_priv *tas2780)
usleep_range(2000, 2050);
}
- snd_soc_component_write(tas2780->component, TAS2780_SW_RST,
+
ret =
snd_soc_component_write(tas2780->component, TAS2780_SW_RST,
TAS2780_RST);
if (ret)
dev_err(tas2780->dev, "%s:errCode:0x%x Reset error!\n",