ASoC: Ux500: Move MSP pinctrl setup into the MSP driver
authorLee Jones <lee.jones@linaro.org>
Fri, 14 Sep 2012 15:16:08 +0000 (16:16 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 20 Sep 2012 07:10:56 +0000 (09:10 +0200)
commit5ca032ee21cdabd08fb368ce3f02fa8906b0ef5f
treee77e91004f3e7608c0d6d0e2932fbb5e7881d808
parent5698bd757d55b1bb87edd1a9744ab09c142abfc2
ASoC: Ux500: Move MSP pinctrl setup into the MSP driver

In the initial submission of the MSP driver msp1 and msp3's associated
pinctrl mechanism was passed back to platform code using a plat_init()
call-back routine, but it has no place in platform code. The MSP driver
should set this up for the appropriate ports. Instead we use a use_pinctrl
identifier which is passed from platform_data/Device Tree which indicates
which ports should use pinctrl.

Acked-by: Ola Lilja <ola.o.lilja@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
arch/arm/mach-ux500/board-mop500-msp.c
arch/arm/mach-ux500/include/mach/msp.h
sound/soc/ux500/ux500_msp_i2s.c
sound/soc/ux500/ux500_msp_i2s.h