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

Commit 4d7b1c08 authored by Sudheer Papothi's avatar Sudheer Papothi Committed by Kyle Yan
Browse files

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: default avatarSudheer Papothi <spapothi@codeaurora.org>
parent f6b5614a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
}