[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141208101557.GE14516@opensource.wolfsonmicro.com>
Date: Mon, 8 Dec 2014 10:15:57 +0000
From: Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>
To: Zidan Wang <b50113@...escale.com>
Cc: broonie@...nel.org, lgirdwood@...il.com, perex@...ex.cz,
tiwai@...e.de, lars@...afoo.de, Li.Xiubo@...escale.com,
patches@...nsource.wolfsonmicro.com, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Subject: Re: [alsa-devel][PATCH v3] ASoC: wm8960: Let wm8960 codec driver
manage its own MCLK
On Thu, Dec 04, 2014 at 08:41:19PM +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.
>
> If platform data is not supplied, we will get MCLK from device tree and check
> the return code to handle probe deferral.
>
> 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@...escale.com>
> ---
Acked-by: Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>
Thanks,
Charles
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists