ASoC: pxa-ssp: fix SSP port request
authorPhilipp Zabel <philipp.zabel@gmail.com>
Tue, 3 Feb 2009 20:18:26 +0000 (21:18 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 4 Feb 2009 13:17:22 +0000 (13:17 +0000)
commit0664678a84c653bde844c7d91646259a25c6188b
tree1c35706bca8416d56ec76e2ca3f51bc7717fc558
parent5b2474425ed2a625b75dcd8d648701e473b7d764
ASoC: pxa-ssp: fix SSP port request

PXA2xx/3xx SSP ports start from 1, not 0. Thus, the probe function
requested the wrong SSP port. Correcting this unveiled another bug
where ssp_init tries to request the already-requested SSP port again.
So this patch replaces the ssp_init/exit calls with their internals
from mach-pxa/ssp.c, leaving out the redundant ssp_request and the
unneeded IRQ request. Effectively, that leaves us with not much more
than enabling/disabling the SSP clock.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/pxa-ssp.c