commit | 6583d2032d57df9f1c00c753ca58e1a822901bf0 | [log] [tgz] |
---|---|---|
author | Leilk Liu <leilk.liu@mediatek.com> | Mon Sep 07 19:37:57 2015 +0800 |
committer | Mark Brown <broonie@kernel.org> | Mon Sep 07 17:26:39 2015 +0100 |
tree | b6721f9a52e34679452377bdcaa591bd79a830f3 | |
parent | c5992f610f78e6c9d0a78e8fef1066ad640e17e8 [diff] |
spi: mediatek: fix spi cs polarity error Mediatek spi HW can't set cs inactive(keep cs high) directly. Instead, it supplies pause mode to do it indirectly. If driver unsets SPI_CMD_PAUSE_MODE in CMD_REG, it also needs to reset internal state machine to let cs inactive at once. Signed-off-by: Leilk Liu <leilk.liu@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>