power: supply: bq24190_charger: Longer delay while polling reset flag
authorLiam Breck <kernel@networkimprov.net>
Tue, 11 Apr 2017 11:59:57 +0000 (04:59 -0700)
committerSebastian Reichel <sre@kernel.org>
Thu, 13 Apr 2017 23:41:35 +0000 (01:41 +0200)
commit61489b0f9fa835cd2fef67ae26790cdf64b6b1c7
tree9ff77f5a76ff777e4a0d52fb629ab08884a90ef5
parente3ebc381a966f7fb41b13c2823ff96f9d6d7a377
power: supply: bq24190_charger: Longer delay while polling reset flag

On chip reset, polling loop used udelay(10) which is too short
to be useful. Instead, use usleep_range(100, 200).

Signed-off-by: Liam Breck <kernel@networkimprov.net>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/bq24190_charger.c