mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
Merge remote-tracking branch 'regmap/topic/core' into regmap-next
This commit is contained in:
commit
912af52f31
1 changed files with 4 additions and 1 deletions
|
@ -123,7 +123,10 @@ bool regmap_volatile(struct regmap *map, unsigned int reg)
|
|||
if (map->volatile_table)
|
||||
return regmap_check_range_table(map, reg, map->volatile_table);
|
||||
|
||||
return true;
|
||||
if (map->cache_ops)
|
||||
return false;
|
||||
else
|
||||
return true;
|
||||
}
|
||||
|
||||
bool regmap_precious(struct regmap *map, unsigned int reg)
|
||||
|
|
Loading…
Reference in a new issue