ARM: mx3: Setup AIPS registers
authorFabio Estevam <festevam@gmail.com>
Wed, 29 Feb 2012 13:28:08 +0000 (10:28 -0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 2 Mar 2012 07:49:37 +0000 (08:49 +0100)
commitbb07d7511e0884f913a0610d5f9a2f8a27914042
tree45025b26ae9e27cb15b44ad2a2afe589c1077e1c
parent3ac804e31199c55440a423c76068d693b37fd50b
ARM: mx3: Setup AIPS registers

It was observed on a mx31pdk board that audio playback only worked when the bootloader was Redboot, and
did not work when U-boot was used.

Comparing the sources of these bootloaders showed that the AIPS registers were not setup in U-boot.

Instead of relying on the bootloader to setup the AIPS registers, do it in the kernel so that audio
playback can work independantly of the bootloader being used.

Copied the AIPS settings from Redboot to the kernel.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/mm-imx3.c
arch/arm/plat-mxc/cpu.c
arch/arm/plat-mxc/include/mach/common.h