st_smi: Move status register read before modifying ctrl register
authorShiraz Hashim <shiraz.hashim@st.com>
Mon, 7 May 2012 07:30:24 +0000 (13:00 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:39 +0000 (14:07 +0200)
commita59c7b37b908639f9daa7fe50d4646b3947e2d62
treea5e8580c7fe366c5a98b1212f0d216127d7b097b
parent0befe7d7a396339067ccb7018ab69a097ff62cf4
st_smi: Move status register read before modifying ctrl register

Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Amit Virdi <amit.virdi@st.com>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/st_smi.c