• Daniel Ribeiro's avatar
    ASoC: pxa-ssp.c fix clock/frame invert · a8205320
    Daniel Ribeiro authored
    SCMODE(0): Data Driven (Falling), Data Sampled (Rising), Idle State (Low)
    SCMODE(1): Data Driven (Rising), Data Sampled (Falling), Idle State (Low)
    SCMODE(2): Data Driven (Rising), Data Sampled (Falling), Idle State (High)
    SCMODE(3): Data Driven (Falling), Data Sampled (Rising), Idle State (High)
    
    SCMODE(3) does not invert the clock polarity compared to the default SCMODE(0).
    
    This patch also adds all possible NF/IF, NB/IB combinations to the DSP_A and
    DSP_B modes.
    Signed-off-by: default avatarDaniel Ribeiro <drwyrm@gmail.com>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    a8205320
pxa-ssp.c 22.6 KB