File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -1968,11 +1968,15 @@ config SND_SOC_UDA1380
1968
1968
tristate
1969
1969
depends on I2C
1970
1970
1971
+ config SND_SOC_WCD_CLASSH
1972
+ tristate
1973
+
1971
1974
config SND_SOC_WCD9335
1972
1975
tristate "WCD9335 Codec"
1973
1976
depends on SLIMBUS
1974
1977
select REGMAP_SLIMBUS
1975
1978
select REGMAP_IRQ
1979
+ select SND_SOC_WCD_CLASSH
1976
1980
help
1977
1981
The WCD9335 is a standalone Hi-Fi audio CODEC IC, supports
1978
1982
Qualcomm Technologies, Inc. (QTI) multimedia solutions,
@@ -1987,6 +1991,7 @@ config SND_SOC_WCD934X
1987
1991
depends on SLIMBUS
1988
1992
select REGMAP_IRQ
1989
1993
select REGMAP_SLIMBUS
1994
+ select SND_SOC_WCD_CLASSH
1990
1995
select SND_SOC_WCD_MBHC
1991
1996
depends on MFD_WCD934X || COMPILE_TEST
1992
1997
help
@@ -1997,6 +2002,7 @@ config SND_SOC_WCD938X
1997
2002
depends on SND_SOC_WCD938X_SDW
1998
2003
tristate
1999
2004
depends on SOUNDWIRE || !SOUNDWIRE
2005
+ select SND_SOC_WCD_CLASSH
2000
2006
2001
2007
config SND_SOC_WCD938X_SDW
2002
2008
tristate "WCD9380/WCD9385 Codec - SDW"
Original file line number Diff line number Diff line change @@ -303,10 +303,11 @@ snd-soc-twl4030-objs := twl4030.o
303
303
snd-soc-twl6040-objs := twl6040.o
304
304
snd-soc-uda1334-objs := uda1334.o
305
305
snd-soc-uda1380-objs := uda1380.o
306
+ snd-soc-wcd-classh-objs := wcd-clsh-v2.o
306
307
snd-soc-wcd-mbhc-objs := wcd-mbhc-v2.o
307
- snd-soc-wcd9335-objs := wcd-clsh-v2.o wcd9335.o
308
- snd-soc-wcd934x-objs := wcd-clsh-v2.o wcd934x.o
309
- snd-soc-wcd938x-objs := wcd938x.o wcd-clsh-v2.o
308
+ snd-soc-wcd9335-objs := wcd9335.o
309
+ snd-soc-wcd934x-objs := wcd934x.o
310
+ snd-soc-wcd938x-objs := wcd938x.o
310
311
snd-soc-wcd938x-sdw-objs := wcd938x-sdw.o
311
312
snd-soc-wl1273-objs := wl1273.o
312
313
snd-soc-wm-adsp-objs := wm_adsp.o
@@ -685,6 +686,7 @@ obj-$(CONFIG_SND_SOC_TWL4030) += snd-soc-twl4030.o
685
686
obj-$(CONFIG_SND_SOC_TWL6040) += snd-soc-twl6040.o
686
687
obj-$(CONFIG_SND_SOC_UDA1334) += snd-soc-uda1334.o
687
688
obj-$(CONFIG_SND_SOC_UDA1380) += snd-soc-uda1380.o
689
+ obj-$(CONFIG_SND_SOC_WCD_CLASSH) += snd-soc-wcd-classh.o
688
690
obj-$(CONFIG_SND_SOC_WCD_MBHC) += snd-soc-wcd-mbhc.o
689
691
obj-$(CONFIG_SND_SOC_WCD9335) += snd-soc-wcd9335.o
690
692
obj-$(CONFIG_SND_SOC_WCD934X) += snd-soc-wcd934x.o
Original file line number Diff line number Diff line change @@ -355,6 +355,7 @@ void wcd_clsh_set_hph_mode(struct wcd_clsh_ctrl *ctrl, int mode)
355
355
wcd_clsh_v2_set_hph_mode (comp , mode );
356
356
357
357
}
358
+ EXPORT_SYMBOL_GPL (wcd_clsh_set_hph_mode );
358
359
359
360
static void wcd_clsh_set_flyback_current (struct snd_soc_component * comp ,
360
361
int mode )
@@ -869,11 +870,13 @@ int wcd_clsh_ctrl_set_state(struct wcd_clsh_ctrl *ctrl,
869
870
870
871
return 0 ;
871
872
}
873
+ EXPORT_SYMBOL_GPL (wcd_clsh_ctrl_set_state );
872
874
873
875
int wcd_clsh_ctrl_get_state (struct wcd_clsh_ctrl * ctrl )
874
876
{
875
877
return ctrl -> state ;
876
878
}
879
+ EXPORT_SYMBOL_GPL (wcd_clsh_ctrl_get_state );
877
880
878
881
struct wcd_clsh_ctrl * wcd_clsh_ctrl_alloc (struct snd_soc_component * comp ,
879
882
int version )
@@ -890,8 +893,13 @@ struct wcd_clsh_ctrl *wcd_clsh_ctrl_alloc(struct snd_soc_component *comp,
890
893
891
894
return ctrl ;
892
895
}
896
+ EXPORT_SYMBOL_GPL (wcd_clsh_ctrl_alloc );
893
897
894
898
void wcd_clsh_ctrl_free (struct wcd_clsh_ctrl * ctrl )
895
899
{
896
900
kfree (ctrl );
897
901
}
902
+ EXPORT_SYMBOL_GPL (wcd_clsh_ctrl_free );
903
+
904
+ MODULE_DESCRIPTION ("WCD93XX Class-H driver" );
905
+ MODULE_LICENSE ("GPL" );
You can’t perform that action at this time.
0 commit comments