Skip to content
Commit f0c48566 authored by Zqiang's avatar Zqiang Committed by Felipe Balbi
Browse files

usb: gadget: uvc: Fix the wrong v4l2_device_unregister call



If an error occurred before calling the 'v4l2_device_register' func,
and then goto error, but no need to call 'v4l2_device_unregister'
func.

Signed-off-by: default avatarZqiang <qiang.zhang@windriver.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent 7f2958d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment