[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080313215427.0d1a86fc@siona.local>
Date: Thu, 13 Mar 2008 21:54:27 +0100
From: Haavard Skinnemoen <haavard.skinnemoen@...el.com>
To: David Brownell <david-b@...bell.net>
Cc: kernel@...32linux.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 02/10] atmel_serial: Fix build on avr32 with CONFIG_PM
enabled
On Thu, 13 Mar 2008 12:37:40 -0800
David Brownell <david-b@...bell.net> wrote:
> On Thursday 13 March 2008, Haavard Skinnemoen wrote:
> > AVR32 doesn't have at91_suspend_entering_slow_clock(). Just assume the
> > clock will keep running for now.
>
> Well, it should acquire the clk_must_disable() or somesuch... :)
Indeed. But that interface doesn't exist yet...
> By the way, I noticed a goof in this driver's clock management.
> It should leave the clock off whenever the device isn't open.
> As it is, it wastes power both at runtime and during suspend.
Right. I suspect you'll find a similar goofs in lots of drivers if you
go looking. I intend to go through all the drivers I care about and see
if I can tighten up the clock management a bit. There are probably a
few missing or half-assed suspend/resume implementations around too.
Haavard
--
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