diff options
author | David Lechner <david@lechnology.com> | 2020-10-25 11:51:22 -0500 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-11-01 17:17:31 +0000 |
commit | 271b339236e1c0e6448bc1cafeaedcb529324bf0 (patch) | |
tree | 06d5d1c71d071461f35db04b54df94ef282a16d4 /drivers/iio/imu | |
parent | 695e2f5c289bb7f8b85351dcfa35fa236e0200a4 (diff) | |
download | linux-271b339236e1c0e6448bc1cafeaedcb529324bf0.tar.bz2 |
counter/ti-eqep: Fix regmap max_register
The values given were the offset of the register after the last
register instead of the actual last register in each range. Fix
by using the correct last register of each range.
Fixes: f213729f6796 ("counter: new TI eQEP driver")
Signed-off-by: David Lechner <david@lechnology.com>
Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Link: https://lore.kernel.org/r/20201025165122.607866-1-david@lechnology.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/imu')
0 files changed, 0 insertions, 0 deletions