Thread (2 messages) flat view 2 messages, 2 authors, 2014-08-05

Re: [PATCH] Revert "net: phy: Set the driver when registering an MDIO bus device"

From: David Miller <davem@davemloft.net>
Date: 2014-08-05 23:42:19

From: Fabio Estevam <festevam@gmail.com>
Date: Tue,  5 Aug 2014 08:13:42 -0300
From: Fabio Estevam <redacted>

Commit a71e3c37960ce5f9 ("net: phy: Set the driver when registering an MDIO bus
device") caused the following regression on the fec driver:
 ...
The problem with the original commit is explained by Russell King:

"It has the effect (as can be seen from the oops) of attaching the MDIO bus
device (itself is a bus-less device) to the platform driver, which means
that if the platform driver supports power management, it will be called
to power manage the MDIO bus device.

Moreover, drivers do not expect to be called for power management
operations for devices which they haven't probed, and certainly not for
devices which aren't part of the same bus that the driver is registered
against."

This reverts commit a71e3c37960ce5f9c6a519bc1215e3ba9fa83e75.

Cc: <redacted> #3.16
Signed-off-by: Fabio Estevam <redacted>
Applied, and queued up for -stable, 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