[alsa-devel] [PATCH v2] ASoC: Add pinctrl PM to components of active DAIs

Mark Brown broonie at kernel.org
Wed Oct 30 17:19:59 CET 2013

On Wed, Oct 30, 2013 at 09:47:30AM +0800, Nicolin Chen wrote:
> On Tue, Oct 29, 2013 at 09:19:59AM -0700, Mark Brown wrote:

> > There's no reason CODECs can't implement pinctrl if they want to.

> Hmm..Sorry, I'm little confused. What should I do? Adding a pinctrl_pm
> for codec_dai->pins? Or a condition like "if (!codec_dai->active)"?

The former; I'd expect the calls to be done for the CODEC and the CPU
(you'd need the active check for the CODEC as well I guess though almost
all the time the CPU and CODEC active states should be the same).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131030/8531ec77/attachment-0001.sig>

More information about the Alsa-devel mailing list