[COMMON] spi: s3c64xx: Fix Code sequece by architectual guide.
authorKyungwoo_Kang_System <kwoo.kang@luwak.(none)>
Thu, 7 Sep 2017 09:06:42 +0000 (18:06 +0900)
committermyung-su.cha <myung-su.cha@samsung.com>
Wed, 9 May 2018 12:14:45 +0000 (21:14 +0900)
commit15ad0d0480f558633ba9ca822ec24191542bc8c4
tree1b9a76b09fa6fbf7c133b03866473b61d0714d6e
parent86bba9b3cf6318dcea5d949395042fe4a218d0be
[COMMON] spi: s3c64xx: Fix Code sequece by architectual guide.

The guide of SPI PACKET CNT SFR setting is like below.
[Disable the channel] -> [Change PACKET CNT SFR] -> [Enable the channel]

Previously our SPI driver code sequece is differ from architectual guide.
To prevent SPI malfunction, we change the code sequence.

Change-Id: I8c105b97f1e36912064ac1c9cfb8f5c43f079927
Signed-off-by: Kyungwoo_Kang_System <kwoo.kang@luwak.(none)>
drivers/spi/spi-s3c64xx.c