瀏覽代碼

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[] = {
+	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,
 		wcd938x_rx_hph_mode_get, wcd938x_rx_hph_mode_put),