From 1a96a612365a989ec79d0e194720e250a37272e2 Mon Sep 17 00:00:00 2001 From: Vatsal Bucha Date: Mon, 26 Nov 2018 13:04:56 +0530 Subject: [PATCH] ASoC: codecs: bolero: Fix playback issue over RX1 Mono playback over RX1 is not happening due to incorrect channel mask sent to AFE. Update channel mask for RX to enable playback. Change-Id: I06eeb565149c635ddbcce39f4260f67b80474335 Signed-off-by: Vatsal Bucha --- asoc/codecs/bolero/rx-macro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asoc/codecs/bolero/rx-macro.c b/asoc/codecs/bolero/rx-macro.c index 6e0916eaf430..666f6e5e229f 100644 --- a/asoc/codecs/bolero/rx-macro.c +++ b/asoc/codecs/bolero/rx-macro.c @@ -951,7 +951,7 @@ static int rx_macro_get_channel_map(struct snd_soc_dai *dai, case RX_MACRO_AIF4_PB: for_each_set_bit(temp, &rx_priv->active_ch_mask[dai->id], RX_MACRO_PORTS_MAX) { - ch_mask |= (1 << i); + ch_mask |= (1 << temp); if (++i == RX_MACRO_MAX_DMA_CH_PER_PORT) break; }