Bladeren bron

asoc: Fix LSM2 mixer control array

LSM2 mixer control mapping for VA_CDC_DMA_TX_0
was added in MI2S controls. Move it out to
fix the concurrency issues seen in SVA.

Change-Id: I1e375b2ea86755b935f3d706d2955ad4aa6ef42f
Signed-off-by: Aditya Bavanari <[email protected]>
Aditya Bavanari 4 jaren geleden
bovenliggende
commit
5712083a09
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      asoc/msm-pcm-routing-v2.c

+ 1 - 1
asoc/msm-pcm-routing-v2.c

@@ -22428,11 +22428,11 @@ static const struct snd_kcontrol_new lsm2_mixer_controls[] = {
 		MSM_BACKEND_DAI_INT3_MI2S_TX,
 		MSM_FRONTEND_DAI_LSM2, 1, 0, msm_routing_get_listen_mixer,
 		msm_routing_put_listen_mixer),
+#endif
 	SOC_DOUBLE_EXT("VA_CDC_DMA_TX_0", SND_SOC_NOPM,
 		MSM_BACKEND_DAI_VA_CDC_DMA_TX_0,
 		MSM_FRONTEND_DAI_LSM2, 1, 0, msm_routing_get_listen_mixer,
 		msm_routing_put_listen_mixer),
-#endif
 	SOC_DOUBLE_EXT("VA_CDC_DMA_TX_1", SND_SOC_NOPM,
 		MSM_BACKEND_DAI_VA_CDC_DMA_TX_1,
 		MSM_FRONTEND_DAI_LSM2, 1, 0, msm_routing_get_listen_mixer,