• Philipp Zabel's avatar
    ASoC: pxa-ssp: fix SSP port request · 0664678a
    Philipp Zabel authored
    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: default avatarPhilipp Zabel <philipp.zabel@gmail.com>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    0664678a
pxa-ssp.c 22.1 KB