[alsa-devel] [PATCH v4] ASoC: wm8960: Let wm8960 codec driver manage its own MCLK
Charles Keepax
ckeepax at opensource.wolfsonmicro.com
Thu Dec 11 10:15:09 CET 2014
On Tue, Dec 09, 2014 at 01:45:16PM +0800, Zidan Wang wrote:
> When we want to use wm8960 codec, we should enable its MCLK in machine
> driver. It's reasonable for wm8960 codec driver to manage its own MCLK to
> save power.
>
> Enable runtime power management, and auto enable/disable MCLK in pm_runtime
> resume and suspend. When wm8960 codec is being used, it will triger resume()
> to enable MCLK. When codec is not being used, it will triger suspend() to
> disable MCLK.
>
> Signed-off-by: Zidan Wang <b50113 at freescale.com>
> ---
Acked-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>
Thanks,
Charles
More information about the Alsa-devel
mailing list