]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sun8i-codec: Manage module clock via DAPM
authorSamuel Holland <samuel@sholland.org>
Mon, 31 Aug 2020 03:48:52 +0000 (22:48 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 7 Sep 2020 13:00:02 +0000 (14:00 +0100)
commit163abe19632a1c5d0393505889ccbb1cfd3b45e7
tree364a0d95a2736223e18fea2a0523c45fd1822a95
parentd5d41de25cb8829336308aee88340f023408f8ee
ASoC: sun8i-codec: Manage module clock via DAPM

By representing the module clock as a DAPM widget, we ensure that the
clock is only enabled when the module is actually in use, without
additional code in runtime PM hooks.

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