[4/4] ASoC: wm8960: the enum of "DAC Polarity" should be wm8960_enum[1]
diff mbox

Message ID a080e557e707453b09f7be7e027f1e4db15cb257.1434020423.git.zidan.wang@freescale.com
State Accepted
Commit a077e81ec61e07a7f86997d045109f06719fbffe
Headers show

Commit Message

Zidan Wang June 11, 2015, 11:14 a.m. UTC
the enum of "DAC Polarity" should be wm8960_enum[1].

Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
---
 sound/soc/codecs/wm8960.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Charles Keepax June 12, 2015, 12:31 p.m. UTC | #1
On Thu, Jun 11, 2015 at 07:14:36PM +0800, Zidan Wang wrote:
> the enum of "DAC Polarity" should be wm8960_enum[1].
> 
> Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
> ---

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles
Mark Brown June 12, 2015, 1:02 p.m. UTC | #2
On Thu, Jun 11, 2015 at 07:14:36PM +0800, Zidan Wang wrote:
> the enum of "DAC Polarity" should be wm8960_enum[1].

Applied, thanks.

Patch
diff mbox

diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c
index 62246f1..d482c0f 100644
--- a/sound/soc/codecs/wm8960.c
+++ b/sound/soc/codecs/wm8960.c
@@ -254,7 +254,7 @@  SOC_SINGLE("PCM Playback -6dB Switch", WM8960_DACCTL1, 7, 1, 0),
 SOC_ENUM("ADC Polarity", wm8960_enum[0]),
 SOC_SINGLE("ADC High Pass Filter Switch", WM8960_DACCTL1, 0, 1, 0),
 
-SOC_ENUM("DAC Polarity", wm8960_enum[2]),
+SOC_ENUM("DAC Polarity", wm8960_enum[1]),
 SOC_SINGLE_BOOL_EXT("DAC Deemphasis Switch", 0,
 		    wm8960_get_deemph, wm8960_put_deemph),