]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: Return -ENOSYS when system call is not available
authorSimon Glass <sjg@chromium.org>
Wed, 24 Mar 2021 21:26:05 +0000 (10:26 +1300)
committerSimon Glass <sjg@chromium.org>
Tue, 6 Apr 2021 04:33:19 +0000 (16:33 +1200)
commit6379a94cace5b0dbb3b35f8b3890ff023a59158d
tree635060778fa17f5088ba6a33ee28c99d13d7a7f4
parentaa4ad8bbad9d18c2363565418fc0d6e3dec4e928
usb: Return -ENOSYS when system call is not available

Update usb_gadget_release() to use -ENOSYS, which is the correct error
code for U-Boot.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/gadget/udc/udc-uclass.c