diff options
| author | 2018-03-21 16:50:00 +0100 | |
|---|---|---|
| committer | 2018-04-26 00:01:27 +0200 | |
| commit | 111242d6e1aa0cbdf1dd91fff6f210ae0d4d01bc (patch) | |
| tree | 403c56798556b808f994b176468e292e746a6900 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | power: supply: sysfs: Use enum to specify property (diff) | |
| download | wireguard-linux-111242d6e1aa0cbdf1dd91fff6f210ae0d4d01bc.tar.xz wireguard-linux-111242d6e1aa0cbdf1dd91fff6f210ae0d4d01bc.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
