[PATCH 5/5] UBUNTU: SAUCE: IMX51: fix stgl5000 regulator_get failing error
Bryan Wu
bryan.wu at canonical.com
Fri Apr 23 02:29:53 UTC 2010
BugLink: http://bugs.launchpad.net/bugs/567157
In Freescale BSP, commit 2d75a8fa9d7c7272b3b81268c2fb33a57be9a072 removes
regulator_consumer_supply VDDD which will be used by stgl5000 driver. So it
will give us an error message during booting:
'regulator: Unable to get requested regulator: VDDD'
This patch added it back and fix this error.
Signed-off-by: Bryan Wu <bryan.wu at canonical.com>
---
arch/arm/mach-mx51/mx51_babbage_pmic_mc13892.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mx51/mx51_babbage_pmic_mc13892.c b/arch/arm/mach-mx51/mx51_babbage_pmic_mc13892.c
index 72d8baf..e8a03cf 100644
--- a/arch/arm/mach-mx51/mx51_babbage_pmic_mc13892.c
+++ b/arch/arm/mach-mx51/mx51_babbage_pmic_mc13892.c
@@ -99,6 +99,11 @@ static struct regulator_consumer_supply vdig_consumers[] = {
.supply = "VDDA",
.dev_name = "1-000a",
},
+ {
+ /* sgtl5000 */
+ .supply = "VDDD",
+ .dev_name = "1-000a",
+ },
};
static struct regulator_consumer_supply vvideo_consumers[] = {
--
1.7.0.1
More information about the kernel-team
mailing list