ASoC: shima: Resolve noise during amic record

Change shima master port params same as slave
to resolve noise during amic record.

Change-Id: I3c26c51413d104720ffd063cb5b9fc50f287c06a
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
This commit is contained in:
Vatsal Bucha
2020-08-27 20:21:27 +05:30
parent 8f75f43515
commit f064edbb48
2 ha cambiato i file con 20 aggiunte e 3 eliminazioni

Vedi File

@@ -7735,7 +7735,7 @@ static int msm_int_audrx_init(struct snd_soc_pcm_runtime *rtd)
card = rtd->card->snd_card;
if (strnstr(rtd->card->name, "shima", 5) != NULL)
if (strnstr(rtd->card->name, "shima", strlen(rtd->card->name)) != NULL)
bolero_set_port_map(component, ARRAY_SIZE(sm_port_map_shima),
sm_port_map_shima);
else