ASoC: AD1836: Fix build error
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 7 Jun 2011 05:02:59 +0000 (07:02 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 7 Jun 2011 08:48:21 +0000 (09:48 +0100)
Commit f97d0c6d5f94 ("ASoC: AD1836: Add input gain control for ADC2") contained
a typo in the register name, causing a build error. This patch fixes it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ad1836.c

index 1e9a801176d564b7436b15c749430faa33ccb20d..e3a9493e3ced2022ef719eb92c25253ca75355a0 100644 (file)
@@ -127,7 +127,7 @@ static const struct snd_soc_dapm_route ad183x_dapm_routes[] = {
 static const DECLARE_TLV_DB_SCALE(ad1836_in_tlv, 0, 300, 0);
 
 static const struct snd_kcontrol_new ad1836_controls[] = {
-       SOC_DOUBLE_TLV("ADC2 Capture Volume", AD183X_ADC_CTRL1, 3, 0, 4, 0,
+       SOC_DOUBLE_TLV("ADC2 Capture Volume", AD1836_ADC_CTRL1, 3, 0, 4, 0,
            ad1836_in_tlv),
 };