]> git.sur5r.net Git - u-boot/commit
usb: dwc3-of-simple: fix error check of clk_get_bulk when disabled
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 12 Apr 2018 08:13:50 +0000 (10:13 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 21 Apr 2018 16:38:56 +0000 (18:38 +0200)
commit38276090ee7fda6b31cac638d8c5f4fb61f57b0b
tree436b866d812e2f853631d5b65a8a46cfeb6fe656
parentcc73ba97c008e96df5799dc37acbb04344fb3ac6
usb: dwc3-of-simple: fix error check of clk_get_bulk when disabled

The disabled clk API returns -ENOSYS unlike the reset API returning -ENOTSUPP.

Fixes: ca7fdc8b1267 ("usb: host: Add simple of glue driver for DWC3 USB Controllers integration")
Reported-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/usb/host/dwc3-of-simple.c