]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: ohci-generic: don't probe fail if there is no clk_enable() ops
authorKever Yang <kever.yang@rock-chips.com>
Wed, 28 Aug 2019 08:23:47 +0000 (16:23 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 11 Sep 2019 08:16:12 +0000 (16:16 +0800)
commit6578db896113816e5b61d1914169fad5f06d7903
tree22aec3ce13c010b2e8148edd4d193f993af30e79
parent54a0c7b2e7a233aa3975771592afb8e0e2f6acc0
usb: ohci-generic: don't probe fail if there is no clk_enable() ops

Some clock driver do not have a clk_enable() call back, and we should not
treat this as fail in ehci probe like other modules, eg. clk_enabl_bulk()
do not return fail if ret value is '-ENOSYS'

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
drivers/usb/host/ohci-generic.c