phy: populate existing ->pwr member with phy-supply
barebox already enables/disables the ->pwr regulator at the correct
places, but doesn't assign a value anywhere. Initialize it with the
phy-supply regulator like Linux does.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent fa920fa commit 45f82cde7cc1b85adbf6214452374b60d177e9e1
@Ahmad Fatoum Ahmad Fatoum authored on 20 Feb 2020
Sascha Hauer committed on 25 Feb 2020
Showing 1 changed file
View
drivers/phy/phy-core.c