summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2019-12-10 09:34:08 +0900
committerMark Brown <broonie@kernel.org>2019-12-10 13:15:21 +0000
commit4468189ff307f294491628a49702a04de22bffb8 (patch)
treee02d43aa454324ac5f043d5f4f2e037fb220bbfc /init
parent94def8ea66be2ea9f6aac61549b6b5874bca6235 (diff)
downloadlinux-stable-4468189ff307f294491628a49702a04de22bffb8.tar.gz
linux-stable-4468189ff307f294491628a49702a04de22bffb8.tar.bz2
linux-stable-4468189ff307f294491628a49702a04de22bffb8.zip
ASoC: soc-core: find rtd via dai_link pointer at snd_soc_get_pcm_runtime()
Current snd_soc_get_pcm_runtime() is finding rtd by checking dai_link name. But, it is strange and waste of CPU power, because its user want to get from rtd from dai_link, not from dai_link name. This patch find rtd via dai_link pointer instead of its name. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/87a781yq67.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions