Thread (9 messages) read the whole thread 9 messages, 4 authors, 2012-08-03

Re: [PATCH 1/2] net: davinci_mdio: enable and disable clock

From: Russell King - ARM Linux <hidden>
Date: 2012-08-02 19:53:08
Also in: linux-arm-kernel, linux-devicetree

On Thu, Aug 02, 2012 at 09:43:35PM +0200, Daniel Mack wrote:
Make the driver control the device clocks. Appearantly, the Davinci
platform probes this driver with the clock all powered up, but on OMAP,
this isn't the case.
Hmm, this looks like it could do with improvement, especially as we're
moving everything over to a common clk API.

1. This driver could do with clk_prepare()/clk_unprepare() calls.
2. This driver should not be making the assumption that NULL means
   it can avoid clk_* calls.  It should instead be using
	if (!IS_ERR(clk))

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help