Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1640146
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net] net: phy: Call bus->reset() after releasing PHYs from reset |
| Date | 2017-05-12 05:10 +0200 |
| Message-ID | <tG97P-6OB-3@gated-at.bofh.it> (permalink) |
| References | <tG10C-1rf-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Florian Fainelli <f.fainelli@gmail.com>
Date: Thu, 11 May 2017 11:24:16 -0700
> The API convention makes it that a given MDIO bus reset should be able
> to access PHY devices in its reset() callback and perform additional
> MDIO accesses in order to bring the bus and PHYs in a working state.
>
> Commit 69226896ad63 ("mdio_bus: Issue GPIO RESET to PHYs.") broke that
> contract by first calling bus->reset() and then release all PHYs from
> reset using their shared GPIO line, so restore the expected
> functionality here.
>
> Fixes: 69226896ad63 ("mdio_bus: Issue GPIO RESET to PHYs.")
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Applied, thanks Florian.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net] net: phy: Call bus->reset() after releasing PHYs from reset Florian Fainelli <f.fainelli@gmail.com> - 2017-05-11 20:30 +0200 Re: [PATCH net] net: phy: Call bus->reset() after releasing PHYs from reset David Miller <davem@davemloft.net> - 2017-05-12 05:10 +0200
csiph-web