summaryrefslogtreecommitdiff
path: root/drivers/media/usb/dvb-usb-v2/af9035.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-02-26 13:56:34 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-18 16:53:33 -0300
commit3484d37a66bb45dc9b4f70868b68739262bf6832 (patch)
treeb47b999d6e826b941597325a3ee321823321108b /drivers/media/usb/dvb-usb-v2/af9035.h
parentaff8c2d475cb660ee246099dd15f269e9ebb7b1d (diff)
[media] af9035: do not use buffers from stack for usb_bulk_msg()
Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/af9035.h')
-rw-r--r--drivers/media/usb/dvb-usb-v2/af9035.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/af9035.h b/drivers/media/usb/dvb-usb-v2/af9035.h
index 29f3eec22c2c..6d098a93d5ab 100644
--- a/drivers/media/usb/dvb-usb-v2/af9035.h
+++ b/drivers/media/usb/dvb-usb-v2/af9035.h
@@ -52,6 +52,8 @@ struct usb_req {
};
struct state {
+#define BUF_LEN 64
+ u8 buf[BUF_LEN];
u8 seq; /* packet sequence number */
bool dual_mode;
struct af9033_config af9033_config[2];