Messages in this thread | | | Subject | Re: [PATCH net-next 1/4] net: phy: broadcom: add exp register access methods without buslock | From | Florian Fainelli <> | Date | Sat, 9 May 2020 16:47:31 -0700 |
| |
On 5/9/2020 3:37 PM, Michael Walle wrote: > Add helper to read and write expansion registers without taking the mdio > lock. > > Please note, that this changes the semantics of the read and write. > Before there was no lock between selecting the expansion register and > the actual read/write. This may lead to access failures if there are > parallel accesses. Instead take the bus lock during the whole access > cycle. > > Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian
| |