[alsa-devel] [PATCH] ASoC: pandora: switch clock back to internal on stop

Grazvydas Ignotas notasas at gmail.com
Sun Feb 19 16:52:57 CET 2012


On Sun, Feb 19, 2012 at 8:30 AM, Mark Brown
<broonie at opensource.wolfsonmicro.com> wrote:
> On Sun, Feb 19, 2012 at 12:39:55AM +0200, Grazvydas Ignotas wrote:
>> For some reason, OMAP doesn't enter lower power states with functional
>> clock (CLKS) source set to external, so switch it back to internal when
>> done playing.
>>
>> Signed-off-by: Grazvydas Ignotas <notasas at gmail.com>
>
> Might be an idea to do this in the McBSP driver - have it do the switch
> transparently, then flip back when the port is brought up again?

Maybe, but I think pandora is the only one using external clock in
mainline and mcbsp currently doesn't track this state, just does a
register write. If you still prefer it on mcbsp side, I can do it
after Peter's mcbsp merge work is finished I guess.

-- 
Gražvydas


More information about the Alsa-devel mailing list