projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6449c9f
)
ASoC: wm_hubs: Bomb out if we can't read back the DC servo result
author
Mark Brown
<
[email protected]
>
Wed, 29 Feb 2012 15:39:56 +0000
(15:39 +0000)
committer
Mark Brown
<
[email protected]
>
Wed, 29 Feb 2012 23:35:30 +0000
(23:35 +0000)
Should have no practical impact but it's safer than trying to soldier on.
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/wm_hubs.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm_hubs.c
b/sound/soc/codecs/wm_hubs.c
index 82b7e9dece2c77789c56f840a4736af6f0e19911..7cffdd4b70fba455a408f848cab3e7dfdc40a2d6 100644
(file)
--- a/
sound/soc/codecs/wm_hubs.c
+++ b/
sound/soc/codecs/wm_hubs.c
@@
-172,7
+172,7
@@
static void calibrate_dc_servo(struct snd_soc_codec *codec)
break;
default:
WARN(1, "Unknown DCS readback method\n");
-
break
;
+
return
;
}
dev_dbg(codec->dev, "DCS input: %x %x\n", reg_l, reg_r);