Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89262e64 authored by Vatsal Bucha's avatar Vatsal Bucha
Browse files

ASoC: sm6150: Add vi_feed_tx channels to common controls



VI_Feed_TX Channels is common for both internal and
external codec. Add it in common controls.

Change-Id: I9354adebc3238a4d332e244d9dedccf02ddd9604
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent 680384aa
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -3386,8 +3386,6 @@ static const struct snd_kcontrol_new msm_tavil_snd_controls[] = {
			slim_rx_ch_get, slim_rx_ch_put),
			slim_rx_ch_get, slim_rx_ch_put),
	SOC_ENUM_EXT("SLIM_6_RX Channels", slim_6_rx_chs,
	SOC_ENUM_EXT("SLIM_6_RX Channels", slim_6_rx_chs,
			slim_rx_ch_get, slim_rx_ch_put),
			slim_rx_ch_get, slim_rx_ch_put),
	SOC_ENUM_EXT("VI_FEED_TX Channels", vi_feed_tx_chs,
			msm_vi_feed_tx_ch_get, msm_vi_feed_tx_ch_put),
	SOC_ENUM_EXT("SLIM_0_RX Format", slim_0_rx_format,
	SOC_ENUM_EXT("SLIM_0_RX Format", slim_0_rx_format,
			slim_rx_bit_format_get, slim_rx_bit_format_put),
			slim_rx_bit_format_get, slim_rx_bit_format_put),
	SOC_ENUM_EXT("SLIM_5_RX Format", slim_5_rx_format,
	SOC_ENUM_EXT("SLIM_5_RX Format", slim_5_rx_format,
@@ -3647,6 +3645,8 @@ static const struct snd_kcontrol_new msm_common_snd_controls[] = {
	SOC_ENUM_EXT("BT SampleRate", bt_sample_rate,
	SOC_ENUM_EXT("BT SampleRate", bt_sample_rate,
			msm_bt_sample_rate_get,
			msm_bt_sample_rate_get,
			msm_bt_sample_rate_put),
			msm_bt_sample_rate_put),
	SOC_ENUM_EXT("VI_FEED_TX Channels", vi_feed_tx_chs,
			msm_vi_feed_tx_ch_get, msm_vi_feed_tx_ch_put),
};
};


static int msm_snd_enable_codec_ext_clk(struct snd_soc_codec *codec,
static int msm_snd_enable_codec_ext_clk(struct snd_soc_codec *codec,