Skip to content

Commit b3b2bf8

Browse files
palosaarimchehab
authored andcommitted
[media] rtl2832: disable regmap register cache
Caching register reads causes some random I/O errors on channel change. Disable caching now in order to avoid those errors. Reverts partly commit dcadb82 Signed-off-by: Antti Palosaari <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 4879785 commit b3b2bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/dvb-frontends/rtl2832.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ static int rtl2832_probe(struct i2c_client *client,
12401240
dev->regmap_config.max_register = 5 * 0x100,
12411241
dev->regmap_config.ranges = regmap_range_cfg,
12421242
dev->regmap_config.num_ranges = ARRAY_SIZE(regmap_range_cfg),
1243-
dev->regmap_config.cache_type = REGCACHE_RBTREE,
1243+
dev->regmap_config.cache_type = REGCACHE_NONE,
12441244
dev->regmap = regmap_init(&client->dev, &regmap_bus, client,
12451245
&dev->regmap_config);
12461246
if (IS_ERR(dev->regmap)) {

0 commit comments

Comments
 (0)