git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9903e62
)
gpio-charger: Use cansleep version of gpio_set_value
author
Pritesh Raithatha
<praithatha@nvidia.com>
Tue, 22 May 2012 08:50:04 +0000
(14:20 +0530)
committer
Anton Vorontsov
<cbouatmailru@gmail.com>
Wed, 20 Jun 2012 03:48:37 +0000
(20:48 -0700)
Context of gpio_charger_get_property is sleepable so we should
use gpio_set_value_cansleep instead of gpio_set_value.
It will remove WARN_ON incase of using gpio from i2c-to-gpio
expander like pca953x.
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
No differences found