]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sun8i-codec: Attach the bus clock to the regmap
authorSamuel Holland <samuel@sholland.org>
Mon, 31 Aug 2020 03:48:51 +0000 (22:48 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 7 Sep 2020 13:00:01 +0000 (14:00 +0100)
commitd5d41de25cb8829336308aee88340f023408f8ee
treecf210a73068b50e838ede43dc8475bf8a80cf166
parentbadd053b73832f2fb0f0898b184232da15b7c3f5
ASoC: sun8i-codec: Attach the bus clock to the regmap

When attached to the regmap, the bus clock is automatically enabled as
needed to access device registers. This avoids needing code to manage it
separately in the driver.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20200831034852.18841-9-samuel@sholland.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun8i-codec.c