iio: accel: bma400: Fix the scale min and max macro values
stable inclusion from stable-v5.10.137 commit 366d0123c38792906a223400e05cac70ac1982fb category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I60PLB Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=366d0123c38792906a223400e05cac70ac1982fb -------------------------------- [ Upstream commit 747c7cf1 ] Changing the scale macro values to match the bma400 sensitivity for 1 LSB of all the available ranges. Fixes: 465c811f ("iio: accel: Add driver for the BMA400") Signed-off-by:Jagath Jog J <jagathjog1996@gmail.com> Reviewed-by:
Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20220505133021.22362-2-jagathjog1996@gmail.com Signed-off-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com> Reviewed-by:
Wei Li <liwei391@huawei.com>
Loading
Please sign in to comment