diff options
-rw-r--r-- | sound/soc/codecs/wm8753.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c index 9bdf5447f6f6..d05d76e79c70 100644 --- a/sound/soc/codecs/wm8753.c +++ b/sound/soc/codecs/wm8753.c | |||
@@ -280,6 +280,7 @@ static const DECLARE_TLV_DB_SCALE(voice_mix_tlv, -1200, 300, 0); | |||
280 | static const DECLARE_TLV_DB_SCALE(pga_tlv, -1725, 75, 0); | 280 | static const DECLARE_TLV_DB_SCALE(pga_tlv, -1725, 75, 0); |
281 | 281 | ||
282 | static const struct snd_kcontrol_new wm8753_snd_controls[] = { | 282 | static const struct snd_kcontrol_new wm8753_snd_controls[] = { |
283 | SOC_SINGLE("Hi-Fi DAC Left/Right channel Swap", WM8753_HIFI, 5, 1, 0), | ||
283 | SOC_DOUBLE_R_TLV("PCM Volume", WM8753_LDAC, WM8753_RDAC, 0, 255, 0, dac_tlv), | 284 | SOC_DOUBLE_R_TLV("PCM Volume", WM8753_LDAC, WM8753_RDAC, 0, 255, 0, dac_tlv), |
284 | 285 | ||
285 | SOC_DOUBLE_R_TLV("ADC Capture Volume", WM8753_LADC, WM8753_RADC, 0, 255, 0, | 286 | SOC_DOUBLE_R_TLV("ADC Capture Volume", WM8753_LADC, WM8753_RADC, 0, 255, 0, |
@@ -1087,7 +1088,7 @@ static int wm8753_i2s_set_dai_fmt(struct snd_soc_codec *codec, | |||
1087 | { | 1088 | { |
1088 | u16 ioctl, hifi; | 1089 | u16 ioctl, hifi; |
1089 | 1090 | ||
1090 | hifi = snd_soc_read(codec, WM8753_HIFI) & 0x011f; | 1091 | hifi = snd_soc_read(codec, WM8753_HIFI) & 0x013f; |
1091 | ioctl = snd_soc_read(codec, WM8753_IOCTL) & 0x00ae; | 1092 | ioctl = snd_soc_read(codec, WM8753_IOCTL) & 0x00ae; |
1092 | 1093 | ||
1093 | /* set master/slave audio interface */ | 1094 | /* set master/slave audio interface */ |