Commit d9768728 authored by Olli Salonen's avatar Olli Salonen Committed by Mauro Carvalho Chehab

[media] saa7164: change Si2168 reglen to 0 bit

The i2c_reg_len for Si2168 should be 0 for correct I2C communication.
Signed-off-by: default avatarOlli Salonen <olli.salonen@iki.fi>
Reviewed-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 555416f9
...@@ -621,7 +621,7 @@ struct saa7164_board saa7164_boards[] = { ...@@ -621,7 +621,7 @@ struct saa7164_board saa7164_boards[] = {
.name = "SI2168-1", .name = "SI2168-1",
.i2c_bus_nr = SAA7164_I2C_BUS_2, .i2c_bus_nr = SAA7164_I2C_BUS_2,
.i2c_bus_addr = 0xc8 >> 1, .i2c_bus_addr = 0xc8 >> 1,
.i2c_reg_len = REGLEN_8bit, .i2c_reg_len = REGLEN_0bit,
}, { }, {
.id = 0x25, .id = 0x25,
.type = SAA7164_UNIT_TUNER, .type = SAA7164_UNIT_TUNER,
...@@ -635,7 +635,7 @@ struct saa7164_board saa7164_boards[] = { ...@@ -635,7 +635,7 @@ struct saa7164_board saa7164_boards[] = {
.name = "SI2168-2", .name = "SI2168-2",
.i2c_bus_nr = SAA7164_I2C_BUS_2, .i2c_bus_nr = SAA7164_I2C_BUS_2,
.i2c_bus_addr = 0xcc >> 1, .i2c_bus_addr = 0xcc >> 1,
.i2c_reg_len = REGLEN_8bit, .i2c_reg_len = REGLEN_0bit,
} }, } },
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment