diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2018-03-21 16:50:00 +0100 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.co.uk> | 2018-04-26 00:01:27 +0200 |
commit | 111242d6e1aa0cbdf1dd91fff6f210ae0d4d01bc (patch) | |
tree | 403c56798556b808f994b176468e292e746a6900 /include/linux/fpga/fpga-region.h | |
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>
Diffstat (limited to 'include/linux/fpga/fpga-region.h')
0 files changed, 0 insertions, 0 deletions