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:
@@ -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
|
||||
|
Fai riferimento in un nuovo problema
Block a user