Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] saa7164: change Si2168 reglen to 0 bit

The i2c_reg_len for Si2168 should be 0 for correct I2C communication.

Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

authored by

Olli Salonen and committed by
Mauro Carvalho Chehab
d9768728 555416f9

+2 -2
+2 -2
drivers/media/pci/saa7164/saa7164-cards.c
··· 621 621 .name = "SI2168-1", 622 622 .i2c_bus_nr = SAA7164_I2C_BUS_2, 623 623 .i2c_bus_addr = 0xc8 >> 1, 624 - .i2c_reg_len = REGLEN_8bit, 624 + .i2c_reg_len = REGLEN_0bit, 625 625 }, { 626 626 .id = 0x25, 627 627 .type = SAA7164_UNIT_TUNER, ··· 635 635 .name = "SI2168-2", 636 636 .i2c_bus_nr = SAA7164_I2C_BUS_2, 637 637 .i2c_bus_addr = 0xcc >> 1, 638 - .i2c_reg_len = REGLEN_8bit, 638 + .i2c_reg_len = REGLEN_0bit, 639 639 } }, 640 640 }, 641 641 };