diff options
author | Saquib Herman <saquib@ti.com> | 2011-04-01 10:22:44 +0530 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-05-27 10:34:36 +0100 |
commit | b2456779f39e33ad63a63aabe9af77d1113f106e (patch) | |
tree | 4f2c79b3ad6f1687aeed1f20f9d4492b49dbaa83 /drivers/regulator/max8997.c | |
parent | 776dc923f5c9cd0eea61475ed61350e377ad98b5 (diff) |
regulator: twl: fix twl6030 regulator is_enabled
With TWL6030, it is not enough to ensure that the regulator is the
group of P1 group (CPU/Linux), but we need to check the state as far
as APP is concerned as well.
Split the current is_enabled to 6030 and 4030 specific ones. This
split impacts few macros and variables as well, but sets up the
stage for further fixes to set_mode and get_status in subsequent
patches.
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Saquib Herman <saquib@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@vega.(none)>
Diffstat (limited to 'drivers/regulator/max8997.c')
0 files changed, 0 insertions, 0 deletions