diff options
author | Narayanan G <narayanan.gopalakrishnan@stericsson.com> | 2011-10-10 15:44:51 +0530 |
---|---|---|
committer | Rabin VINCENT <rabin.vincent@stericsson.com> | 2011-10-13 13:12:03 +0200 |
commit | b5e9d16402c73be06ffa61fcb9ff59131f680c01 (patch) | |
tree | f5b60cd3488c587de613eec9f7f19e9f60ea3bd6 /drivers/mfd | |
parent | 39b1d2617e604db307b237c8347f90be8cc00c74 (diff) |
dma40: Handle esram regulator in dma driver
If the esram is used for LCLA region, this patch will hold the regulator
during when the DMA driver is active. The regulator will be disabled on
a suspend and will be enabled again on resume.
The dma driver initcall has been moved to subsys_initcall(), to ensure
that the regulators are available before we do a regulator_get().
ST-Ericsson ID: 364165
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Change-Id: Ieee3c329c26e9fb43f282716fa57810211f79d85
Signed-off-by: Narayanan G <narayanan.gopalakrishnan@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33434
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/db8500-prcmu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index 930d56439fe..c9ccb8fd72c 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c @@ -2483,6 +2483,7 @@ static struct regulator_consumer_supply db8500_esram12_consumers[] = { static struct regulator_consumer_supply db8500_esram34_consumers[] = { REGULATOR_SUPPLY("v-esram34", "mcde"), REGULATOR_SUPPLY("esram34", "cm_control"), + REGULATOR_SUPPLY("lcla_esram", "dma40.0"), }; static struct regulator_init_data db8500_regulators[DB8500_NUM_REGULATORS] = { |