Skip to content
Commit b5194c22 authored by John Keeping's avatar John Keeping Committed by Kever Yang
Browse files

phy: rockchip: handle clock without enable function



If a clock doesn't supply the enable hook, clk_enable() will return
-ENOSYS.  In this case the clock is always enabled so there is no error
and the phy initialisation should continue.

Signed-off-by: default avatarJohn Keeping <john@metanate.com>
Reviewed-by: default avatarKever Yang <kever.yang@rock-chips.com>
parent 216928c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment