Преглед на файлове

asoc: wcd938x: add ear pa gain kcontrol for wcd9385

add ear pa gain kcontrol for wcd9385.

Change-Id: I3ead7a76598d6cdee6223807c1720b6c66edbf71
Signed-off-by: Prasad Kumpatla <[email protected]>
Prasad Kumpatla преди 2 години
родител
ревизия
ed84f5abe1
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      asoc/codecs/wcd938x/wcd938x.c

+ 3 - 0
asoc/codecs/wcd938x/wcd938x.c

@@ -3082,6 +3082,9 @@ static const struct snd_kcontrol_new wcd9380_snd_controls[] = {
 };
 };
 
 
 static const struct snd_kcontrol_new wcd9385_snd_controls[] = {
 static const struct snd_kcontrol_new wcd9385_snd_controls[] = {
+	SOC_ENUM_EXT("EAR PA GAIN", wcd938x_ear_pa_gain_enum,
+		wcd938x_ear_pa_gain_get, wcd938x_ear_pa_gain_put),
+
 	SOC_ENUM_EXT("RX HPH Mode", rx_hph_mode_mux_enum,
 	SOC_ENUM_EXT("RX HPH Mode", rx_hph_mode_mux_enum,
 		wcd938x_rx_hph_mode_get, wcd938x_rx_hph_mode_put),
 		wcd938x_rx_hph_mode_get, wcd938x_rx_hph_mode_put),