diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-10-07 07:55:38 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-10-14 12:40:47 -0300 |
commit | f0b0ada7184cca44bb5ae96903eca304cc20eec5 (patch) | |
tree | bd4cee4e17877461a501b70a2e7c6fb9652291be /drivers/media/usb/dvb-usb/digitv.h | |
parent | ff1c123545d706c6e414132c9fc93e345f5141da (diff) | |
download | blackbird-obmc-linux-f0b0ada7184cca44bb5ae96903eca304cc20eec5.tar.gz blackbird-obmc-linux-f0b0ada7184cca44bb5ae96903eca304cc20eec5.zip |
[media] digitv: don't do DMA on stack
The USB control messages require DMA to work. We cannot pass
a stack-allocated buffer, as it is not warranted that the
stack would be into a DMA enabled area.
Reviewed-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb/digitv.h')
-rw-r--r-- | drivers/media/usb/dvb-usb/digitv.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb/digitv.h b/drivers/media/usb/dvb-usb/digitv.h index 908c09f4966b..581e09c25491 100644 --- a/drivers/media/usb/dvb-usb/digitv.h +++ b/drivers/media/usb/dvb-usb/digitv.h @@ -5,7 +5,10 @@ #include "dvb-usb.h" struct digitv_state { - int is_nxt6000; + int is_nxt6000; + + unsigned char sndbuf[7]; + unsigned char rcvbuf[7]; }; /* protocol (from usblogging and the SDK: |