diff options
author | Heiko Stuebner <heiko.stuebner@bq.com> | 2014-09-23 22:42:16 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2014-09-25 01:45:59 +0200 |
commit | 4d96fb1ec81118c6406fe6d3670f172b2faaedf3 (patch) | |
tree | 3bb8e9af8313f7cc298a9b3da66dc03fd1ece568 /Documentation/devicetree/bindings/mfd | |
parent | power: max8925: Use of_get_child_by_name (diff) | |
download | linux-4d96fb1ec81118c6406fe6d3670f172b2faaedf3.tar.xz linux-4d96fb1ec81118c6406fe6d3670f172b2faaedf3.zip |
power: gpio-charger: do not use gpio value directly
Some gpio implementations return interesting values for gpio_get_value when
the value is not 0 - as seen on a imx6sl board. Therefore do not use the
value returned from gpio_get_value directly but simply check for 0 or not 0.
Signed-off-by: Heiko Stuebner <heiko.stuebner@bq.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd')
0 files changed, 0 insertions, 0 deletions