]> git.baikalelectronics.ru Git - uboot.git/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)
commit607b2cecff55470609384bfb001c8fb0339d2fc0
tree436b866d812e2f853631d5b65a8a46cfeb6fe656
parent857b7ebae814dd9d9863396613fd3937b53556e9
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: 7feb83615eab ("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