ASoC: Add port params for shima
Add port params for shima and include them based on sndcard. Change-Id: I1f71d6db3df5b7d3cf91b0052fdaac51b8bf21d9 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
b2ab0d8947
commit
23f46e8fc0
@@ -7594,9 +7594,15 @@ static int msm_int_audrx_init(struct snd_soc_pcm_runtime *rtd)
|
||||
|
||||
snd_soc_dapm_sync(dapm);
|
||||
|
||||
bolero_set_port_map(component, ARRAY_SIZE(sm_port_map), sm_port_map);
|
||||
|
||||
card = rtd->card->snd_card;
|
||||
|
||||
if (strnstr(rtd->card->name, "shima", 5) != NULL)
|
||||
bolero_set_port_map(component, ARRAY_SIZE(sm_port_map_shima),
|
||||
sm_port_map_shima);
|
||||
else
|
||||
bolero_set_port_map(component, ARRAY_SIZE(sm_port_map),
|
||||
sm_port_map);
|
||||
|
||||
if (!pdata->codec_root) {
|
||||
entry = msm_snd_info_create_subdir(card->module, "codecs",
|
||||
card->proc_root);
|
||||
|
Reference in New Issue
Block a user