commit | e02d056a5873d634506a6cd9aa99a006f186219f | [log] [tgz] |
---|---|---|
author | David Keitel <dkeitel@codeaurora.org> | Wed May 09 16:07:00 2012 -0700 |
committer | David Keitel <dkeitel@codeaurora.org> | Mon Jun 18 14:02:45 2012 -0700 |
tree | 364df18cbcaf8da769b6903b6b1f6a625778b515 | |
parent | 3211c8c4b47a9462e70937f3e0784aea74694fcf [diff] |
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: David Keitel <dkeitel@codeaurora.org>