commit | b8f9a03b741ddfdde4aa8b607fa7d88eb63a6338 | [log] [tgz] |
---|---|---|
author | Charles Keepax <ckeepax@opensource.cirrus.com> | Mon Feb 12 18:15:45 2018 +0000 |
committer | Mark Brown <broonie@kernel.org> | Tue Feb 13 12:26:12 2018 +0000 |
tree | 9c7d2814e2bafa8c16f59fd4b1eff36e8f43ee1b | |
parent | 7928b2cbe55b2a410a0f5c1f154610059c57b1b2 [diff] |
regmap: Correct offset handling in regmap_volatile_range The current implementation is broken for regmaps that have a reg_stride, since it doesn't take the stride into account. Correct this by using the helper function to calculate the register offset. Fixes: f01ee60fffa4 ("regmap: implement register striding") Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>