• Trent Piepho's avatar
    spi: spi-mxs: Always clear INGORE_CRC, to keep CS asserted · 75e73fa2
    Trent Piepho authored
    INGORE_CRC, better named DEASSERT_CS, should be cleared on all tranfers
    except the last.  So instead of only clearing it on the first transfer, we
    can just always clear it.  It will set on the last transfer.
    
    This removes the only use of the "first" flag in the transfer functions, so
    that flag can be then be removed.
    Signed-off-by: default avatarTrent Piepho <tpiepho@gmail.com>
    Cc: Marek Vasut <marex@denx.de>
    Cc: Fabio Estevam <fabio.estevam@freescale.com>
    Cc: Shawn Guo <shawn.guo@linaro.org>
    Signed-off-by: default avatarMark Brown <broonie@linaro.org>
    75e73fa2
spi-mxs.c 14.2 KB