Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e778ba07 authored by Mark Brown's avatar Mark Brown
Browse files

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 6449c9f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -172,7 +172,7 @@ static void calibrate_dc_servo(struct snd_soc_codec *codec)
		break;
		break;
	default:
	default:
		WARN(1, "Unknown DCS readback method\n");
		WARN(1, "Unknown DCS readback method\n");
		break;
		return;
	}
	}


	dev_dbg(codec->dev, "DCS input: %x %x\n", reg_l, reg_r);
	dev_dbg(codec->dev, "DCS input: %x %x\n", reg_l, reg_r);