Home
last modified time | relevance | path

Searched hist:"1 bac1f3947f2df4a43e6f8e7a4c7468e5010f2f7" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dgeneric-phy.h1bac1f3947f2df4a43e6f8e7a4c7468e5010f2f7 Tue Oct 01 12:03:26 UTC 2019 Jean-Jacques Hiblot <jjhiblot@ti.com> UPSTREAM: drivers: phy: Handle gracefully NULL pointers

For some controllers PHYs can be optional. Handling NULL pointers without
crashing nor failing, makes it easy to handle optional PHYs.

Change-Id: I11c95af8c1b54f2dad41891f6d0edb8d9fac6606
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit 4e1842988364446ba0cf2171d1eebb53c15bc44e)
/rk3399_rockchip-uboot/drivers/phy/
H A Dphy-uclass.c1bac1f3947f2df4a43e6f8e7a4c7468e5010f2f7 Tue Oct 01 12:03:26 UTC 2019 Jean-Jacques Hiblot <jjhiblot@ti.com> UPSTREAM: drivers: phy: Handle gracefully NULL pointers

For some controllers PHYs can be optional. Handling NULL pointers without
crashing nor failing, makes it easy to handle optional PHYs.

Change-Id: I11c95af8c1b54f2dad41891f6d0edb8d9fac6606
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit 4e1842988364446ba0cf2171d1eebb53c15bc44e)