[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201006040940.51776.jeremy.kerr@canonical.com>
Date: Fri, 4 Jun 2010 09:40:48 +0800
From: Jeremy Kerr <jeremy.kerr@...onical.com>
To: "Russell King - ARM Linux" <linux@....linux.org.uk>
Cc: Ben Dooks <ben-linux@...ff.org>,
Ben Herrenchmidt <benh@...nel.crashing.org>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [RFC,PATCH 1/2] Add a common struct clk
Hi Russell,
> Or to put it another way, the above method results in clk_enable()
> sometimes returning with the clock enabled and sometimes with the
> clock still disabled.
>
> That's not nice behaviour for drivers which may need the clock enabled
> to read/write the device registers.
OK, I'll rework with proper locking to ensure that the clock is
enabled/disabled on return from clk_enable.
Cheers,
Jeremy
--
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