acrn-kernel/drivers/usb
Yang Yingliang cc4b55a48f usb: gadget: uvc: fix missing mutex_unlock() if kstrtou8() fails
commit 7ebb605d22 upstream.

If kstrtou8() fails, the mutex_unlock() is missed, move kstrtou8()
before mutex_lock() to fix it up.

Fixes: 0525210c98 ("usb: gadget: uvc: Allow definition of XUs in configfs")
Fixes: b3c839bd8a ("usb: gadget: uvc: Make bSourceID read/write")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20230213070926.776447-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-11 13:55:44 +01:00
..
atm
c67x00
cdns3
chipidea USB: chipidea: fix memory leak with using debugfs_lookup() 2023-03-11 13:55:36 +01:00
class
common USB: ULPI: fix memory leak with using debugfs_lookup() 2023-03-11 13:55:36 +01:00
core
dwc2
dwc3
early
gadget usb: gadget: uvc: fix missing mutex_unlock() if kstrtou8() fails 2023-03-11 13:55:44 +01:00
host usb: host: xhci: mvebu: Iterate over array indexes instead of using pointer math 2023-03-11 13:55:38 +01:00
image
isp1760
misc
mon
mtu3
musb
phy
renesas_usbhs
roles
serial
storage USB: ene_usb6250: Allocate enough memory for full object 2023-03-11 13:55:38 +01:00
typec
usbip
Kconfig
Makefile
usb-skeleton.c