mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 00:52:01 +00:00
Merge remote-tracking branch 'regmap/topic/range' into regmap-next
This commit is contained in:
commit
db00cb9943
@ -687,6 +687,10 @@ skip_format_initialization:
|
||||
unsigned win_max = win_min +
|
||||
config->ranges[j].window_len - 1;
|
||||
|
||||
/* Allow data window inside its own virtual range */
|
||||
if (j == i)
|
||||
continue;
|
||||
|
||||
if (range_cfg->range_min <= sel_reg &&
|
||||
sel_reg <= range_cfg->range_max) {
|
||||
dev_err(map->dev,
|
||||
|
Loading…
Reference in New Issue
Block a user