mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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 <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
6449c9f858
commit
e778ba07ed
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue