V4L/DVB:usbvideo:don't use part of buffer for USB transfer #4
commita31a4055473bf0a7b2b06cb2262347200d0711e1
authorMing Lei <tom.leiming@gmail.com>
Tue, 16 Sep 2008 06:32:20 +0000 (16 03:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:37:08 +0000 (12 09:37 -0200)
tree296667c25e67acd933c55c71b85b619b5918ae5e
parentd63beb9ef004ff9587b3c466361276254d57d7a7
V4L/DVB:usbvideo:don't use part of buffer for USB transfer #4

The status[] is part of  uvc_device structure. We can't make sure
the address of status is at a cache-line boundary in all archs,so
status[] might share a cache-line with some fields in uvc_structure.
This can lead to some cache coherence issues(http://lwn.net/Articles/2265/).
Use dynamically allocated buffer instead.

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>
drivers/media/video/uvc/uvc_status.c
drivers/media/video/uvc/uvcvideo.h