Switch using the new API to configure the 6 pin port's CLKR/FSR mux
configuration.

Signed-off-by: Peter Ujfalusi <[email protected]>
---
 sound/soc/omap/omap-mcbsp.c |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
index 0173719..b9b0a9b 100644
--- a/sound/soc/omap/omap-mcbsp.c
+++ b/sound/soc/omap/omap-mcbsp.c
@@ -575,22 +575,26 @@ static int omap_mcbsp_dai_set_dai_sysclk(struct 
snd_soc_dai *cpu_dai,
        case OMAP_MCBSP_CLKR_SRC_CLKR:
                if (cpu_class_is_omap1())
                        break;
-               omap2_mcbsp1_mux_clkr_src(CLKR_SRC_CLKR);
+               err = omap_mcbsp_6pin_src_mux(mcbsp_data->bus_id,
+                                                   CLKR_SRC_CLKR);
                break;
        case OMAP_MCBSP_CLKR_SRC_CLKX:
                if (cpu_class_is_omap1())
                        break;
-               omap2_mcbsp1_mux_clkr_src(CLKR_SRC_CLKX);
+               err = omap_mcbsp_6pin_src_mux(mcbsp_data->bus_id,
+                                                   CLKR_SRC_CLKX);
                break;
        case OMAP_MCBSP_FSR_SRC_FSR:
                if (cpu_class_is_omap1())
                        break;
-               omap2_mcbsp1_mux_fsr_src(FSR_SRC_FSR);
+               err = omap_mcbsp_6pin_src_mux(mcbsp_data->bus_id,
+                                                   FSR_SRC_FSR);
                break;
        case OMAP_MCBSP_FSR_SRC_FSX:
                if (cpu_class_is_omap1())
                        break;
-               omap2_mcbsp1_mux_fsr_src(FSR_SRC_FSX);
+               err = omap_mcbsp_6pin_src_mux(mcbsp_data->bus_id,
+                                                   FSR_SRC_FSX);
                break;
        default:
                err = -ENODEV;
-- 
1.7.8.1

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to