]> 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)
commit09a5993e6665083c96db89301230e6e00c2bf34e
treecf210a73068b50e838ede43dc8475bf8a80cf166
parent5b59451f25c064a024616a1930905e0a7a90c748
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