]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: ehci-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:46 +0000 (16:23 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 11 Sep 2019 08:16:12 +0000 (16:16 +0800)
commit54a0c7b2e7a233aa3975771592afb8e0e2f6acc0
treef6747c116a745e8f4293eea769f20ca19caae37c
parent86b4a6db68b21f1122b01296ae281ba2fa3607f2
usb: ehci-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/ehci-generic.c