summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorOlli Salonen <olli.salonen@iki.fi>2015-06-06 04:44:57 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-10 11:44:44 -0300
commitd976872891f139f59cfcb4e47ca05fc2e90f3e43 (patch)
tree1979fe5cf23bfec2cbd5805e382b4fb391fa9fb5 /drivers/media
parent555416f9878d2d1547765c1587b05e585c69096b (diff)
downloadop-kernel-dev-d976872891f139f59cfcb4e47ca05fc2e90f3e43.zip
op-kernel-dev-d976872891f139f59cfcb4e47ca05fc2e90f3e43.tar.gz
[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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/pci/saa7164/saa7164-cards.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/pci/saa7164/saa7164-cards.c b/drivers/media/pci/saa7164/saa7164-cards.c
index 8a6455d..c2b7382 100644
--- a/drivers/media/pci/saa7164/saa7164-cards.c
+++ b/drivers/media/pci/saa7164/saa7164-cards.c
@@ -621,7 +621,7 @@ struct saa7164_board saa7164_boards[] = {
.name = "SI2168-1",
.i2c_bus_nr = SAA7164_I2C_BUS_2,
.i2c_bus_addr = 0xc8 >> 1,
- .i2c_reg_len = REGLEN_8bit,
+ .i2c_reg_len = REGLEN_0bit,
}, {
.id = 0x25,
.type = SAA7164_UNIT_TUNER,
@@ -635,7 +635,7 @@ struct saa7164_board saa7164_boards[] = {
.name = "SI2168-2",
.i2c_bus_nr = SAA7164_I2C_BUS_2,
.i2c_bus_addr = 0xcc >> 1,
- .i2c_reg_len = REGLEN_8bit,
+ .i2c_reg_len = REGLEN_0bit,
} },
},
};
OpenPOWER on IntegriCloud