mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 21:23:23 +00:00
[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 <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
4879785ed5
commit
b3b2bf820e
@ -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, ®map_bus, client,
|
||||
&dev->regmap_config);
|
||||
if (IS_ERR(dev->regmap)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user