iio: adc: mt6370: Fix ibus and ibat scaling value of some specific vendor ID chips
authorChiaEn Wu <chiaen_wu@richtek.com>
Mon, 10 Apr 2023 10:34:22 +0000 (18:34 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 13 May 2023 16:54:56 +0000 (17:54 +0100)
commit00ffdd6fa90298522d45ca0c348b23485584dcdc
tree9eab1d8ab2143abb69d56b1b69de43d6ab92609c
parent20f291b88ecf23f674ee2ed980a4d93b7f16a06f
iio: adc: mt6370: Fix ibus and ibat scaling value of some specific vendor ID chips

The scale value of ibus and ibat on the datasheet is incorrect due to the
customer report after the experimentation with some specific vendor ID
chips.

Fixes: c1404d1b659f ("iio: adc: mt6370: Add MediaTek MT6370 support")
Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com>
Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Link: https://lore.kernel.org/r/1681122862-1994-1-git-send-email-chiaen_wu@richtek.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/mt6370-adc.c