Loading asoc/msm-pcm-q6-v2.c +16 −13 Original line number Diff line number Diff line Loading @@ -1604,7 +1604,7 @@ static int msm_pcm_chmap_ctl_put(struct snd_kcontrol *kcontrol, struct snd_soc_pcm_runtime *rtd = NULL; struct msm_plat_data *pdata = NULL; struct msm_pcm_channel_mixer *chmixer_pspd = NULL; struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); struct snd_soc_component *component = NULL; u64 fe_id = 0; pr_debug("%s", __func__); Loading @@ -1624,6 +1624,8 @@ static int msm_pcm_chmap_ctl_put(struct snd_kcontrol *kcontrol, /* update chmixer_pspd chmap cached with routing driver as well */ rtd = substream->private_data; if (rtd) { component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); if (component) { fe_id = rtd->dai_link->id; pdata = (struct msm_plat_data *) dev_get_drvdata(component->dev); Loading @@ -1639,6 +1641,7 @@ static int msm_pcm_chmap_ctl_put(struct snd_kcontrol *kcontrol, } } } } return 0; } Loading Loading
asoc/msm-pcm-q6-v2.c +16 −13 Original line number Diff line number Diff line Loading @@ -1604,7 +1604,7 @@ static int msm_pcm_chmap_ctl_put(struct snd_kcontrol *kcontrol, struct snd_soc_pcm_runtime *rtd = NULL; struct msm_plat_data *pdata = NULL; struct msm_pcm_channel_mixer *chmixer_pspd = NULL; struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); struct snd_soc_component *component = NULL; u64 fe_id = 0; pr_debug("%s", __func__); Loading @@ -1624,6 +1624,8 @@ static int msm_pcm_chmap_ctl_put(struct snd_kcontrol *kcontrol, /* update chmixer_pspd chmap cached with routing driver as well */ rtd = substream->private_data; if (rtd) { component = snd_soc_rtdcom_lookup(rtd, DRV_NAME); if (component) { fe_id = rtd->dai_link->id; pdata = (struct msm_plat_data *) dev_get_drvdata(component->dev); Loading @@ -1639,6 +1641,7 @@ static int msm_pcm_chmap_ctl_put(struct snd_kcontrol *kcontrol, } } } } return 0; } Loading