From 4d7b1c0881768fbaada35c1dc0c49de2219dcdf0 Mon Sep 17 00:00:00 2001 From: Sudheer Papothi Date: Wed, 6 Jul 2016 21:29:18 +0530 Subject: ASoC: msmcobalt: Fix slimbus tx channel configuration Slimbus tx channel configuration is not updated properly in msmcobalt machine driver. Fix slimbus tx channel configuration for proper functionality of audio recording usecases. Change-Id: I96010edabd04fef0eeb3cbb0b8f1a11d178d99b5 Signed-off-by: Sudheer Papothi --- sound/soc/msm/msmcobalt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sound') diff --git a/sound/soc/msm/msmcobalt.c b/sound/soc/msm/msmcobalt.c index c835fc3647d2..955a886e3fdc 100644 --- a/sound/soc/msm/msmcobalt.c +++ b/sound/soc/msm/msmcobalt.c @@ -572,9 +572,9 @@ static int msm_slim_tx_ch_put(struct snd_kcontrol *kcontrol, if (ch_num < 0) return ch_num; - slim_rx_cfg[ch_num].channels = ucontrol->value.enumerated.item[0] + 1; + slim_tx_cfg[ch_num].channels = ucontrol->value.enumerated.item[0] + 1; pr_debug("%s: msm_slim_[%d]_tx_ch = %d\n", __func__, - ch_num, slim_rx_cfg[ch_num].channels); + ch_num, slim_tx_cfg[ch_num].channels); return 1; } -- cgit v1.2.3