Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a31a4055 authored by Ming Lei's avatar Ming Lei Committed by Mauro Carvalho Chehab
Browse files

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: default avatarMing Lei <tom.leiming@gmail.com>
Acked-by: default avatarLaurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent d63beb9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment