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 <spapothi@codeaurora.org>
This commit is contained in:
parent
f6b5614ac0
commit
4d7b1c0881
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue