linux/drivers/media/video/uvc
Ming Lei cb1287a822 V4L/DVB (11575): uvcvideo: fix uvc resume failed
Now urb buffers is not freed before suspend, so uvc_alloc_urb_buffers should
return packet counts allocated originally during uvc resume, instead of zero.

This version uses round down to return packet counts on Linus' suggestions,
or else may lead to buffer destructed if packet size is changed before
calling uvc_alloc_urb_buffers() in this kind of case.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-09 18:50:40 -03:00
..
Kconfig V4L/DVB (11439): UVC: uvc_status_cleanup(): undefined reference to `input_unregister_device' 2009-04-06 21:44:52 -03:00
Makefile
uvc_ctrl.c V4L/DVB (10293): uvcvideo: replace strn{cpy,cat} with strl{cpy,cat}. 2009-03-30 12:42:26 -03:00
uvc_driver.c V4L/DVB (11292): uvcvideo: Add support for Syntek cameras found in JAOtech Smart Terminals 2009-03-30 12:43:47 -03:00
uvc_isight.c V4L/DVB (10197): uvcvideo: Whitespace and comments cleanup, copyright updates. 2009-01-29 08:35:36 -02:00
uvc_queue.c V4L/DVB (10197): uvcvideo: Whitespace and comments cleanup, copyright updates. 2009-01-29 08:35:36 -02:00
uvc_status.c V4L/DVB (10296): uvcvideo: Fix memory leak in input device handling 2009-03-30 12:42:26 -03:00
uvc_v4l2.c V4L/DVB (11293): uvcvideo: Add zero fill for VIDIOC_ENUM_FMT 2009-03-30 12:43:48 -03:00
uvc_video.c V4L/DVB (11575): uvcvideo: fix uvc resume failed 2009-05-09 18:50:40 -03:00
uvcvideo.h V4L/DVB (10652): uvcvideo: Add quirk to override wrong bandwidth value for Vimicro devices 2009-03-30 12:42:51 -03:00