Patchwork [4/5] UBUNTU: SAUCE: IMX51: A hack which allows the sound driver to initialize.

login
register
mail settings
Submitter Brad Figg
Date Oct. 8, 2009, 4:39 p.m.
Message ID <1255019953-21442-5-git-send-email-brad.figg@canonical.com>
Download mbox | patch
Permalink /patch/35486/
State Accepted
Headers show

Comments

Brad Figg - Oct. 8, 2009, 4:39 p.m.
From: Alan Tull <r80115@freescale.com>

---
 sound/soc/imx/imx-3stack-sgtl5000.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch

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 */