summaryrefslogtreecommitdiff
path: root/linux/Documentation/video4linux/CARDLIST.saa7134
diff options
context:
space:
mode:
authortom.leiming@gmail.com <tom.leiming@gmail.com>2009-04-18 01:50:30 +0200
committertom.leiming@gmail.com <tom.leiming@gmail.com>2009-04-18 01:50:30 +0200
commit990ddd211286de0b58e67483c758ce029715c97e (patch)
tree4885fc73bd061783c6628f95f964235ae78ec9e7 /linux/Documentation/video4linux/CARDLIST.saa7134
parent8650091f79531c84de3ffa46f0b0d7655d610a1a (diff)
downloadmediapointer-dvb-s2-990ddd211286de0b58e67483c758ce029715c97e.tar.gz
mediapointer-dvb-s2-990ddd211286de0b58e67483c758ce029715c97e.tar.bz2
uvcvideo: fix uvc resume failed
From: Ming Lei <tom.leiming@gmail.com> 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. Priority: normal Signed-off-by: Ming Lei <tom.leiming@gmail.com> Acked-by: Laurent Pinchart <laurent.pinchart@skynet.be> --- linux/drivers/media/video/uvc/uvc_video.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Diffstat (limited to 'linux/Documentation/video4linux/CARDLIST.saa7134')
0 files changed, 0 insertions, 0 deletions