Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dfad8270 authored by David Keitel's avatar David Keitel Committed by Stephen Boyd
Browse files

power: smb349: fix possible bug in start/stop_charging



gpio_set_value_cansleep should not be used in a function
that may be called from an interrupt context.

Fix this by using the gpio_set_value() function rather
than the cansleep one in the SMB349 driver.

Change-Id: I6aaa845da8373a3a16ba2f9971fbf9b3a1f22bb4
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent d78cbbb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment