Increase USB xfer buffers heavily in order handle wider data stream. Stream is quite heavy, over 50Mbit/sec, when sampling rates are increased up to 3.2Msps. With remote controller interrupts disabled and huge USB buffers it seems to perform even 3.2Msps rather well. Signed-off-by: Antti Palosaari <crope@xxxxxx> --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c b/drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c index 348df05..4b8c016 100644 --- a/drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c +++ b/drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c @@ -51,8 +51,8 @@ #define V4L2_PIX_FMT_SDR_U8 v4l2_fourcc('D', 'U', '0', '8') /* unsigned 8-bit */ -#define MAX_BULK_BUFS (8) -#define BULK_BUFFER_SIZE (8 * 512) +#define MAX_BULK_BUFS (10) +#define BULK_BUFFER_SIZE (128 * 512) /* intermediate buffers with raw data from the USB device */ struct rtl2832_sdr_frame_buf { -- 1.8.5.3 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html