regulator: palmas: do not disable smps10 in suspend if is enabled by client
authorMallikarjun Kasoju <mkasoju@nvidia.com>
Thu, 18 Apr 2013 13:00:38 +0000 (18:00 +0530)
committerSimone Willett <swillett@nvidia.com>
Fri, 19 Apr 2013 21:42:32 +0000 (14:42 -0700)
commita2442dc1d8626ab6cad0d30d00ac27e65591a739
tree144ca47fb666075a9308ec53c5c2a28ef867c600
parent864c14e99024df329f4e4d3397ef71013e8f07f0
regulator: palmas: do not disable smps10 in suspend if is enabled by client

Do not disable the smps10 in suspend as part of boost suspend if client have
enabled it through regulator call and has not called regulator_disable.

bug 1266948

Change-Id: I27e5dfbd4a55b07ef5214ce2fd57eaa7e78dff5a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/220551
drivers/regulator/palmas-regulator.c
include/linux/mfd/palmas.h