Merge "ASoC: shima: Resolve noise during amic record"

This commit is contained in:
qctecmdr
2020-09-03 18:06:22 -07:00
committed by Gerrit - the friendly Code Review server
2 changed files with 20 additions and 3 deletions

View File

@@ -7733,7 +7733,7 @@ static int msm_rx_tx_codec_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