mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Merge remote-tracking branch 'asoc/topic/pcm' into asoc-next
This commit is contained in:
commit
b79e16cb4a
1 changed files with 7 additions and 0 deletions
|
|
@ -818,6 +818,13 @@ static int soc_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
|
|||
if (ret < 0)
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (rtd->dai_link->ops && rtd->dai_link->ops->trigger) {
|
||||
ret = rtd->dai_link->ops->trigger(substream, cmd);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue