ASoC: wm_hubs: Bomb out if we can't read back the DC servo result
Subsystems (3)
PATCH 1/1 ASoC: wm_hubs: Bomb out if we can't read back the DC servo result
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 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/wm_hubs.c +1 -1
@@ -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);
Signature · 1 line
1.7.9.1