From fbfa1278892b8ca61cc1a66f87de70f5ac4ea545 Mon Sep 17 00:00:00 2001 From: Steve Markgraf Date: Sat, 16 Nov 2013 21:10:31 +0100 Subject: [PATCH] tuner_r82xx: enable multi-byte I2C transfers This should speed some multi register reads up a bit. Signed-off-by: Steve Markgraf --- src/librtlsdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librtlsdr.c b/src/librtlsdr.c index 9b76a96..8537416 100644 --- a/src/librtlsdr.c +++ b/src/librtlsdr.c @@ -195,7 +195,7 @@ int r820t_init(void *dev) { rtlsdr_get_xtal_freq(devt, NULL, &devt->r82xx_c.xtal); - devt->r82xx_c.max_i2c_msg_len = 2; + devt->r82xx_c.max_i2c_msg_len = 8; devt->r82xx_c.use_predetect = 0; devt->r82xx_p.cfg = &devt->r82xx_c;