| Submitter | Herton Ronaldo Krzesinski |
|---|---|
| Date | Jan. 7, 2013, 8:35 p.m. |
| Message ID | <1357590911-19366-1-git-send-email-herton.krzesinski@canonical.com> |
| Download | mbox | patch |
| Permalink | /patch/210166/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index fc9afc8..7b9b4ef 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -3783,17 +3783,8 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec) wm8994->hubs.no_cache_dac_hp_direct = true; wm8994->fll_byp = true; - switch (wm8994->revision) { - case 0: - case 1: - case 2: - case 3: - wm8994->hubs.dcs_codes_l = -9; - wm8994->hubs.dcs_codes_r = -7; - break; - default: - break; - } + wm8994->hubs.dcs_codes_l = -9; + wm8994->hubs.dcs_codes_r = -7; snd_soc_update_bits(codec, WM8994_ANALOGUE_HP_1, WM1811_HPOUT1_ATTN, WM1811_HPOUT1_ATTN);
This is a note to let you know that I have just added a patch titled ASoC: wm8994: Use the same DCS codes for all WM1811 variants to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree which can be found at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-queue If you, or anyone else, feels it should not be added to this tree, please reply to this email. For more information about the 3.5.y.z tree, see https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable Thanks. -Herton ------ From 0244a0756a8ea884942161bd23a26b0e7fdd69a8 Mon Sep 17 00:00:00 2001 From: Mark Brown <broonie@opensource.wolfsonmicro.com> Date: Wed, 28 Nov 2012 13:46:56 +0000 Subject: [PATCH] ASoC: wm8994: Use the same DCS codes for all WM1811 variants commit 72222be39afbd39c16eb180646b0ac44bb1ba460 upstream. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> [ herton: rediff with different switch options in 3.5 ] Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com> --- sound/soc/codecs/wm8994.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) -- 1.7.9.5