On Tue, Mar 12, 2019 at 02:50:40AM -0500, Kangjie Lu wrote: > of_get_phy_mode may fail and return a negative error code; > the fix checks the return value of of_get_phy_mode and > returns -EINVAL of it fails. > > Signed-off-by: Kangjie Lu Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com