spi: Change FIFO flush operation and spi channel off
authorKyoungil Kim <ki0351.kim@samsung.com>
Wed, 23 May 2012 12:29:51 +0000 (21:29 +0900)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 15 Dec 2012 00:49:34 +0000 (00:49 +0000)
commit7d859ff4937a22aabc0d3f352d1f515fb8b38528
tree7786b4b67765ba0dbd62527013d15024e7aad451
parent6f38010d54a9dfd4b9c9e49a7184f84cc2281605
spi: Change FIFO flush operation and spi channel off

Setting SW_RST does TX/RX FIFO flush.
After FIFO flush, SW_RST should be cleared.
The above setting and clearing SW_RST operation should be done after spi channel off.

Signed-off-by: Kyoungil Kim <ki0351.kim@samsung.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-s3c64xx.c