ASoC: fsl: remove unneeded AUDMUX register setting from imx-sgtl5000
authorHui Wang <jason77.wang@gmail.com>
Wed, 4 Jul 2012 07:38:27 +0000 (15:38 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 5 Jul 2012 12:47:11 +0000 (13:47 +0100)
If we don't set IMX_AUDMUX_V2_PTCR_TCLKDIR in the AUDMUX PTCR
register (means Tx clock pin is input), we don't need to set
IMX_AUDMUX_V2_PTCR_TCSEL as well. Since both i.MX35, i.MX51 and
i.MX6 datasheet says "When Tx clock pin set as an input, the TCSEL
settings are ignored".

Signed-off-by: Hui Wang <jason77.wang@gmail.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/imx-sgtl5000.c

index 3a729caeb8c809c56302208f4f105e2b79c2777e..fb21b17f17f54ae342b552e05b42df6a0afcaeca 100644 (file)
@@ -95,8 +95,7 @@ static int __devinit imx_sgtl5000_probe(struct platform_device *pdev)
                return ret;
        }
        imx_audmux_v2_configure_port(ext_port,
-                       IMX_AUDMUX_V2_PTCR_SYN |
-                       IMX_AUDMUX_V2_PTCR_TCSEL(int_port),
+                       IMX_AUDMUX_V2_PTCR_SYN,
                        IMX_AUDMUX_V2_PDCR_RXDSEL(int_port));
        if (ret) {
                dev_err(&pdev->dev, "audmux external port setup failed\n");
This page took 0.050517 seconds and 5 git commands to generate.