[PATCH net-next] of: mdio: preserve phy dev_flags in of_phy_connect()

Florian Fainelli f.fainelli at gmail.com
Fri Jun 19 08:12:28 AEST 2020



On 6/18/2020 3:04 PM, rentao.bupt at gmail.com wrote:
> From: Tao Ren <rentao.bupt at gmail.com>
> 
> Replace assignment "=" with OR "|=" for "phy->dev_flags" so "dev_flags"
> configured in phy probe() function can be preserved.
> 
> The idea is similar to commit e7312efbd5de ("net: phy: modify assignment
> to OR for dev_flags in phy_attach_direct").
> 
> Signed-off-by: Tao Ren <rentao.bupt at gmail.com>

Reviewed-by: Florian Fainelli <f.fainelli at gmail.com>
-- 
Florian


More information about the openbmc mailing list