aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/au0828/au0828.h
diff options
context:
space:
mode:
authorTim Mester <ttmesterr@gmail.com>2014-01-07 01:29:25 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-13 11:11:11 -0200
commitf251b3e78cc57411627d825eae3c911da77b4035 (patch)
treef133f7540fa82534dad782272c2fd2e6afb54d64 /drivers/media/usb/au0828/au0828.h
parent4609981f84a23e8d481502f4728e0fed910abe03 (diff)
[media] au0828: Add option to preallocate digital transfer buffers
Added command line parameter preallocate_big_buffers so that the digital transfer buffers can be allocated when the driver is registered. They do not have to be allocated every time a feed is started. Signed-off-by: Tim Mester <tmester@ieee.org> Acked-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/au0828/au0828.h')
-rw-r--r--drivers/media/usb/au0828/au0828.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/usb/au0828/au0828.h b/drivers/media/usb/au0828/au0828.h
index a00b400f8703..5439772c1551 100644
--- a/drivers/media/usb/au0828/au0828.h
+++ b/drivers/media/usb/au0828/au0828.h
@@ -262,6 +262,10 @@ struct au0828_dev {
/* USB / URB Related */
int urb_streaming;
struct urb *urbs[URB_COUNT];
+
+ /* Preallocated transfer digital transfer buffers */
+
+ char *dig_transfer_buffer[URB_COUNT];
};
/* ----------------------------------------------------------- */

Privacy Policy