[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140805.164219.1353576887891215623.davem@davemloft.net>
Date: Tue, 05 Aug 2014 16:42:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: festevam@...il.com
Cc: f.fainelli@...il.com, linux@....linux.org.uk,
shawn.guo@...escale.com, netdev@...r.kernel.org,
ezequiel.garcia@...e-electrons.com, fabio.estevam@...escale.com,
stable@...r.kernel.org
Subject: Re: [PATCH] Revert "net: phy: Set the driver when registering an
MDIO bus device"
From: Fabio Estevam <festevam@...il.com>
Date: Tue, 5 Aug 2014 08:13:42 -0300
> From: Fabio Estevam <fabio.estevam@...escale.com>
>
> 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: <stable@...r.kernel.org> #3.16
> Signed-off-by: Fabio Estevam <fabio.estevam@...escale.com>
Applied, and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists