OSDN Git Service

ASoC: rt5682: Register wclk with its parent_hws instead of parent_data
authorDerek Fang <derek.fang@realtek.com>
Mon, 27 Dec 2021 05:54:46 +0000 (13:54 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 29 Dec 2021 12:45:49 +0000 (12:45 +0000)
commitcc5c9788106fb1b9e03c8c57d8d7166073a54416
tree0529a59d9c7108babaf56849f98dfca09372e29a
parentc5ab93e289ce554a4e0d47330dde120284541aa1
ASoC: rt5682: Register wclk with its parent_hws instead of parent_data

The mclk might not be registered as a fixed clk name "mclk" on some
platforms.
In those platforms, if the mclk needed to be controlled by codec driver
and acquired by a fixed name, it would be a problem.

This patch to fix the issue that wclk becomes an orphan due to the fixed
mclk's name.

Signed-off-by: Derek Fang <derek.fang@realtek.com>
Link: https://lore.kernel.org/r/20211227055446.27563-1-derek.fang@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682.c