Browse Source

Merge "ASoC: codecs: bolero: Fix playback issue over RX1"

Linux Build Service Account 6 years ago
parent
commit
31611c4d92
1 changed files with 1 additions and 1 deletions
  1. 1 1
      asoc/codecs/bolero/rx-macro.c

+ 1 - 1
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;
 		}