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)
commit19ab0f005b165146ea4a93f71e9cb5e71de9c0ce
treeb7f78980dc115a2bcb888fd47e7c40c7a1a10247
parentb287a6d9723c601dd947f1c27d4cc0192e384a5a
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