power: supply: bq25890: Use the correct range for IILIM register
authorSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Wed, 25 Nov 2020 03:48:05 +0000 (04:48 +0100)
committerSebastian Reichel <sre@kernel.org>
Sun, 29 Nov 2020 22:06:03 +0000 (23:06 +0100)
commitd4e9e7b6f7ae37a99bc11ce9efe6e8bdc711362f
treec3a8e7c4f17643ede5898c7ec326d2e7bd22e365
parentaa4302c4933a419baf0546d7f6e59f27d4250797
power: supply: bq25890: Use the correct range for IILIM register

I've checked bq25890, bq25892, bq25895 and bq25896 datasheets and
they all define IILIM to be between 100mA-3.25A with 50mA steps.

Fixes: 478efc79ee32 ("power: bq25890: implement INPUT_CURRENT_LIMIT property")
Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Reviewed-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq25890_charger.c