moko: preinit is in /etc
[openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1008-wm8753-rout2-inv.patch.patch
1 From 2f6a766ce9bfa4e593b1f88b564f91486cd96f80 Mon Sep 17 00:00:00 2001
2 From: mokopatches <mokopatches@openmoko.org>
3 Date: Fri, 4 Apr 2008 11:30:27 +0100
4 Subject: [PATCH] wm8753-rout2-inv.patch
5
6 ---
7 sound/soc/codecs/wm8753.c | 3 +++
8 1 files changed, 3 insertions(+), 0 deletions(-)
9
10 diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
11 index efced93..52207d5 100644
12 --- a/sound/soc/codecs/wm8753.c
13 +++ b/sound/soc/codecs/wm8753.c
14 @@ -198,6 +198,7 @@ static const char *wm8753_mic_sel[] = {"Mic 1", "Mic 2", "Mic 3"};
15 static const char *wm8753_dai_mode[] = {"DAI 0", "DAI 1", "DAI 2", "DAI 3"};
16 static const char *wm8753_dat_sel[] = {"Stereo", "Left ADC", "Right ADC",
17 "Channel Swap"};
18 +static const char *wm8753_rout2_phase[] = {"Non Inverted", "Inverted"};
19
20 static const struct soc_enum wm8753_enum[] = {
21 SOC_ENUM_SINGLE(WM8753_BASS, 7, 2, wm8753_base),
22 @@ -228,6 +229,7 @@ SOC_ENUM_SINGLE(WM8753_ADC, 4, 2, wm8753_adc_filter),
23 SOC_ENUM_SINGLE(WM8753_MICBIAS, 6, 3, wm8753_mic_sel),
24 SOC_ENUM_SINGLE(WM8753_IOCTL, 2, 4, wm8753_dai_mode),
25 SOC_ENUM_SINGLE(WM8753_ADC, 7, 4, wm8753_dat_sel),
26 +SOC_ENUM_SINGLE(WM8753_OUTCTL, 2, 2, wm8753_rout2_phase),
27 };
28
29
30 @@ -328,6 +330,7 @@ SOC_SINGLE("Mic1 Capture Volume", WM8753_INCTL1, 5, 3, 0),
31 SOC_ENUM_EXT("DAI Mode", wm8753_enum[26], wm8753_get_dai, wm8753_set_dai),
32
33 SOC_ENUM("ADC Data Select", wm8753_enum[27]),
34 +SOC_ENUM("ROUT2 Phase", wm8753_enum[28]),
35 };
36
37 /* add non dapm controls */
38 --
39 1.5.6.5
40
This page took 0.046498 seconds and 5 git commands to generate.