Skip to content

Commit

Permalink
[media] DiB0700: get rid of on-stack dma buffers
Browse files Browse the repository at this point in the history
This patch removes the on-stack buffers for USB DMA transfers.

This is an alternative version of the patch discussed by Florian here:
http://thread.gmane.org/gmane.linux.kernel/1115695/

Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr>
Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Olivier Grenie authored and Mauro Carvalho Chehab committed May 20, 2011
1 parent b9f7b73 commit ffa5899
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 87 deletions.
5 changes: 3 additions & 2 deletions drivers/media/dvb/dvb-usb/dib0700.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ struct dib0700_state {
u8 is_dib7000pc;
u8 fw_use_new_i2c_api;
u8 disable_streaming_master_mode;
u32 fw_version;
u32 nb_packet_buffer_size;
u32 fw_version;
u32 nb_packet_buffer_size;
u8 buf[255];
};

extern int dib0700_get_version(struct dvb_usb_device *d, u32 *hwversion,
Expand Down
Loading

0 comments on commit ffa5899

Please sign in to comment.