diff options
Diffstat (limited to 'sound/soc/imx/wm1133-ev1.c')
-rw-r--r-- | sound/soc/imx/wm1133-ev1.c | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/sound/soc/imx/wm1133-ev1.c b/sound/soc/imx/wm1133-ev1.c index 37480c90e997..fe54a69073e5 100644 --- a/sound/soc/imx/wm1133-ev1.c +++ b/sound/soc/imx/wm1133-ev1.c | |||
@@ -21,10 +21,9 @@ | |||
21 | #include <sound/pcm_params.h> | 21 | #include <sound/pcm_params.h> |
22 | #include <sound/soc.h> | 22 | #include <sound/soc.h> |
23 | 23 | ||
24 | #include <mach/audmux.h> | ||
25 | |||
26 | #include "imx-ssi.h" | 24 | #include "imx-ssi.h" |
27 | #include "../codecs/wm8350.h" | 25 | #include "../codecs/wm8350.h" |
26 | #include "imx-audmux.h" | ||
28 | 27 | ||
29 | /* There is a silicon mic on the board optionally connected via a solder pad | 28 | /* There is a silicon mic on the board optionally connected via a solder pad |
30 | * SP1. Define this to enable it. | 29 | * SP1. Define this to enable it. |
@@ -268,17 +267,17 @@ static int __init wm1133_ev1_audio_init(void) | |||
268 | unsigned int ptcr, pdcr; | 267 | unsigned int ptcr, pdcr; |
269 | 268 | ||
270 | /* SSI0 mastered by port 5 */ | 269 | /* SSI0 mastered by port 5 */ |
271 | ptcr = MXC_AUDMUX_V2_PTCR_SYN | | 270 | ptcr = IMX_AUDMUX_V2_PTCR_SYN | |
272 | MXC_AUDMUX_V2_PTCR_TFSDIR | | 271 | IMX_AUDMUX_V2_PTCR_TFSDIR | |
273 | MXC_AUDMUX_V2_PTCR_TFSEL(MX31_AUDMUX_PORT5_SSI_PINS_5) | | 272 | IMX_AUDMUX_V2_PTCR_TFSEL(MX31_AUDMUX_PORT5_SSI_PINS_5) | |
274 | MXC_AUDMUX_V2_PTCR_TCLKDIR | | 273 | IMX_AUDMUX_V2_PTCR_TCLKDIR | |
275 | MXC_AUDMUX_V2_PTCR_TCSEL(MX31_AUDMUX_PORT5_SSI_PINS_5); | 274 | IMX_AUDMUX_V2_PTCR_TCSEL(MX31_AUDMUX_PORT5_SSI_PINS_5); |
276 | pdcr = MXC_AUDMUX_V2_PDCR_RXDSEL(MX31_AUDMUX_PORT5_SSI_PINS_5); | 275 | pdcr = IMX_AUDMUX_V2_PDCR_RXDSEL(MX31_AUDMUX_PORT5_SSI_PINS_5); |
277 | mxc_audmux_v2_configure_port(MX31_AUDMUX_PORT1_SSI0, ptcr, pdcr); | 276 | imx_audmux_v2_configure_port(MX31_AUDMUX_PORT1_SSI0, ptcr, pdcr); |
278 | 277 | ||
279 | ptcr = MXC_AUDMUX_V2_PTCR_SYN; | 278 | ptcr = IMX_AUDMUX_V2_PTCR_SYN; |
280 | pdcr = MXC_AUDMUX_V2_PDCR_RXDSEL(MX31_AUDMUX_PORT1_SSI0); | 279 | pdcr = IMX_AUDMUX_V2_PDCR_RXDSEL(MX31_AUDMUX_PORT1_SSI0); |
281 | mxc_audmux_v2_configure_port(MX31_AUDMUX_PORT5_SSI_PINS_5, ptcr, pdcr); | 280 | imx_audmux_v2_configure_port(MX31_AUDMUX_PORT5_SSI_PINS_5, ptcr, pdcr); |
282 | 281 | ||
283 | wm1133_ev1_snd_device = platform_device_alloc("soc-audio", -1); | 282 | wm1133_ev1_snd_device = platform_device_alloc("soc-audio", -1); |
284 | if (!wm1133_ev1_snd_device) | 283 | if (!wm1133_ev1_snd_device) |