]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit354334d997f3333cce2db6808fc07b8aa8d43b8e
tree0529a59d9c7108babaf56849f98dfca09372e29a
parentfa7b19c5f59f518acd4609d0137b3d55ae21f983
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