]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5682: Let dai clks be registered whether mclk exists or not
authorderek.fang <derek.fang@realtek.com>
Fri, 12 Jun 2020 05:15:25 +0000 (13:15 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Jun 2020 14:18:29 +0000 (15:18 +0100)
commit6dbf43a1571ca6b371a4a383c80d4c94a1aebe76
treeb7f78980dc115a2bcb888fd47e7c40c7a1a10247
parent9309c6782d9a803893999e5ddb591d5a251f8d4f
ASoC: rt5682: Let dai clks be registered whether mclk exists or not

According to ideal rt5682 CCF, the root clk is mclk.
But in some platforms, mclk is not exported to CCF.
In this condition, rt5682_register_dai_clks will not be called.
This patch lets dai clks could be registered whether mclk exists or not.

Signed-off-by: derek.fang <derek.fang@realtek.com>
Link: https://lore.kernel.org/r/1591938925-1070-5-git-send-email-derek.fang@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682.c