[PATCH 4/5] UBUNTU: SAUCE: IMX51: A hack which allows the sound driver to initialize.
Brad Figg
brad.figg at canonical.com
Thu Oct 8 16:39:12 UTC 2009
From: Alan Tull <r80115 at freescale.com>
---
sound/soc/imx/imx-3stack-sgtl5000.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/sound/soc/imx/imx-3stack-sgtl5000.c b/sound/soc/imx/imx-3stack-sgtl5000.c
index 8c26cd7..4366653 100644
--- a/sound/soc/imx/imx-3stack-sgtl5000.c
+++ b/sound/soc/imx/imx-3stack-sgtl5000.c
@@ -622,6 +622,7 @@ static int __devinit imx_3stack_sgtl5000_probe(struct platform_device *pdev)
ret = -EINVAL;
if (plat->init && plat->init())
goto err_plat_init;
+#if 0
if (plat->vddio_reg) {
reg = regulator_get(&pdev->dev, plat->vddio_reg);
if (IS_ERR(reg))
@@ -655,7 +656,7 @@ static int __devinit imx_3stack_sgtl5000_probe(struct platform_device *pdev)
regulator_set_voltage(priv->reg_vddd, plat->vddd, plat->vddd);
regulator_enable(priv->reg_vddd);
}
-
+#endif
/* The SGTL5000 has an internal reset that is deasserted 8 SYS_MCLK
cycles after all power rails have been brought up. After this time
communication can start */
--
1.6.3.3
More information about the kernel-team
mailing list