Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3b2bf82 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

[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 dcadb82a

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 4879785e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1240,7 +1240,7 @@ static int rtl2832_probe(struct i2c_client *client,
	dev->regmap_config.max_register = 5 * 0x100,
	dev->regmap_config.ranges = regmap_range_cfg,
	dev->regmap_config.num_ranges = ARRAY_SIZE(regmap_range_cfg),
	dev->regmap_config.cache_type = REGCACHE_RBTREE,
	dev->regmap_config.cache_type = REGCACHE_NONE,
	dev->regmap = regmap_init(&client->dev, &regmap_bus, client,
				  &dev->regmap_config);
	if (IS_ERR(dev->regmap)) {