aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/uvc/uvc_v4l2.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-10-21 15:02:00 -0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-25 05:41:05 -0500
commit1b7f9c989ee7684dc70f0a75a037ecb1d437d3c2 (patch)
tree03343478d9d8e320fc51c6c046190826069e8577 /drivers/media/usb/uvc/uvc_v4l2.c
parent3f02de275e5c4374ffeba554c7b9fa85ea13ecc5 (diff)
[media] uvcvideo: Rename uvc_alloc_buffers to uvc_request_buffers
This brings the function name in line with the V4L2 API terminology. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/uvc/uvc_v4l2.c')
-rw-r--r--drivers/media/usb/uvc/uvc_v4l2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/uvc/uvc_v4l2.c b/drivers/media/usb/uvc/uvc_v4l2.c
index 1b6b6db30d98..5ba023be3926 100644
--- a/drivers/media/usb/uvc/uvc_v4l2.c
+++ b/drivers/media/usb/uvc/uvc_v4l2.c
@@ -690,7 +690,7 @@ static int uvc_ioctl_reqbufs(struct file *file, void *fh,
690 return ret; 690 return ret;
691 691
692 mutex_lock(&stream->mutex); 692 mutex_lock(&stream->mutex);
693 ret = uvc_alloc_buffers(&stream->queue, rb); 693 ret = uvc_request_buffers(&stream->queue, rb);
694 mutex_unlock(&stream->mutex); 694 mutex_unlock(&stream->mutex);
695 if (ret < 0) 695 if (ret < 0)
696 return ret; 696 return ret;