From 4781d4c068d66cd109cc5e4500752c44d8771602 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Thu, 17 Dec 2009 21:05:17 +0100 Subject: [PATCH] Revert "enable sound default" This reverts commit b33c92aaf5a5ac8849cbb85c2f31067ff5d0606b. The commit inverted the semantics for ADC Switch. When the switch is Off Sound is On and when the switch is On sound is Off. This will certainly confuse users and apps. And it did not enable sound by default. --- target/linux/xburst/files-2.6.31/sound/soc/codecs/jzcodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/xburst/files-2.6.31/sound/soc/codecs/jzcodec.c b/target/linux/xburst/files-2.6.31/sound/soc/codecs/jzcodec.c index d2233e169..9720df612 100644 --- a/target/linux/xburst/files-2.6.31/sound/soc/codecs/jzcodec.c +++ b/target/linux/xburst/files-2.6.31/sound/soc/codecs/jzcodec.c @@ -110,7 +110,7 @@ static const struct snd_kcontrol_new jz_codec_output_controls[] = { SOC_DAPM_SINGLE("Bypass Switch", JZ_REG_CODEC_1, JZ_CODEC_1_SW1_ENABLE_OFFSET, 1, 0), SOC_DAPM_SINGLE("DAC Switch", JZ_REG_CODEC_1, - JZ_CODEC_1_SW2_ENABLE_OFFSET, 1, 1), + JZ_CODEC_1_SW2_ENABLE_OFFSET, 1, 0), }; static const struct snd_kcontrol_new jz_codec_input_controls[] =