Skip to content

Commit

Permalink
ASoC: wm_hubs: Bomb out if we can't read back the DC servo result
Browse files Browse the repository at this point in the history
Should have no practical impact but it's safer than trying to soldier on.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Feb 29, 2012
1 parent 6449c9f commit e778ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm_hubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e778ba0

Please sign in to comment.