Message ID | cca09ee1-dc30-b3e6-41fb-63c1443bf91b@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c index b0833902fde2..5736f8b26f92 100644 --- a/drivers/media/usb/uvc/uvc_driver.c +++ b/drivers/media/usb/uvc/uvc_driver.c @@ -663,7 +663,7 @@ static int uvc_parse_streaming(struct uvc_device *dev, streaming = kzalloc(sizeof(*streaming), GFP_KERNEL); if (!streaming) { usb_driver_release_interface(&uvc_driver.driver, intf); - return -EINVAL; + return -ENOMEM; } mutex_init(&streaming->mutex);