Merge "ASoC: shima: Resolve noise during amic record"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
d512c0e75f
@@ -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
|
||||
|
Reference in New Issue
Block a user