summaryrefslogtreecommitdiff
path: root/drivers/usb/isp1760
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2023-02-13 10:09:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-11 15:50:49 +0300
commitc3ccb01e0fed3e8afffc34a73d99a52bae0f2329 (patch)
tree8330e185a4e321bc800f7fd34fc11fc75a225067 /drivers/usb/isp1760
parent4e8f7d998b582a99aadedd07ae6086e99b89c97a (diff)
downloadlinux-c3ccb01e0fed3e8afffc34a73d99a52bae0f2329.tar.xz
usb: gadget: uvc: fix missing mutex_unlock() if kstrtou8() fails
commit 7ebb605d2283fb2647b4fa82030307ce00bee436 upstream. If kstrtou8() fails, the mutex_unlock() is missed, move kstrtou8() before mutex_lock() to fix it up. Fixes: 0525210c9840 ("usb: gadget: uvc: Allow definition of XUs in configfs") Fixes: b3c839bd8a07 ("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>
Diffstat (limited to 'drivers/usb/isp1760')
0 files changed, 0 insertions, 0 deletions