• Stefan Agner's avatar
    ASoC: fsl_sai: fix Rx synchrounous mode · 3cc7780b
    Stefan Agner authored
    When using the Rx clock for both, transmitter and receiver, the
    transmitter needs to be set to synchronous with receiver.
    
    This reverts 855675f6 ("ASoC: fsl_sai: Set SYNC bit of TCR2 to
    Asynchronous Mode"), which, judiging from the commit log, seems to
    mixed up between the two synchronous modes: The boolean
    sai->synchronous[TX] is indicating wheather the SAI should work in
    Rx synchronous mode (sync Tx with Rx), hence if the value is true,
    the SYNC field of TCR2 needs to be set to 0x1 ("Synchronous with
    receiver").
    Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
    Acked-by: default avatarNicolin Chen <nicoleotsuka@gmail.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    3cc7780b
fsl_sai.c 20.5 KB