[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3587033.yBnh7UpTkW@barack>
Date: Fri, 17 Jun 2011 16:04:34 +0300
From: Péter Ujfalusi <peter.ujfalusi@...com>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
CC: "Girdwood, Liam" <lrg@...com>, Tony Lindgren <tony@...mide.com>,
Samuel Ortiz <sameo@...ux.intel.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-input@...r.kernel.org" <linux-input@...r.kernel.org>,
"Lopez Cruz, Misael" <misael.lopez@...com>,
"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>
Subject: Re: Re: [alsa-devel] [PATCH v5 15/18] ASoC: twl6040: Remove pll and headset mode dependency
On Friday 17 June 2011 15:27:59 Mark Brown wrote:
> On Mon, Jun 13, 2011 at 07:37:47PM +0300, Peter Ujfalusi wrote:
> > From: Misael Lopez Cruz <misael.lopez@...com>
> >
> > Remove dependency between pll (hppll, lppll) and headset power
> > mode (low-power, high-performance), as headset power mode can
> > be used with any pll.
>
> Acked-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
>
> but...
>
> > A new control is created to allow headset power mode configuration
> > from userspace. Changing headset power mode during earpiece related
> > usecases is not allowed as earpiece requires HS DAC in HP mode.
>
> Might be nicer to allow the user to set the control given that you'll
> just ignore the configured value anyway if it's not usable right now.
Yeah, we can allow the change, but skip the register updates for use cases
when it is not allowed.
I did spot other issue related to this power mode handling: the DAPM event
handler has been attached to HFDAC, and not to the HSDAC, so the refcounting
is done for a wrong set of DAC... The HFDACs has no relationship with the
Earpiece output (it is connected to HSDACL).
--
Péter
--
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