commit | 111242d6e1aa0cbdf1dd91fff6f210ae0d4d01bc | [log] [tgz] |
---|---|---|
author | Ladislav Michl <ladis@linux-mips.org> | Wed Mar 21 16:50:00 2018 +0100 |
committer | Sebastian Reichel <sebastian.reichel@collabora.co.uk> | Thu Apr 26 00:01:27 2018 +0200 |
tree | 403c56798556b808f994b176468e292e746a6900 | |
parent | 39b4fb8056e60a27ba0963dd557d5e61909f5b07 [diff] |
power: supply: charger-manager: Verify polling interval only when polling requested Driver bails out with -EINVAL when no polling specififaion is requested. Fix that by verifing polling interval only if polling_mode is different from CM_POLL_DISABLE. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>