mtd: st_spi_fsm: Supply a busy wait for post-write status
authorLee Jones <lee.jones@linaro.org>
Thu, 20 Mar 2014 09:20:59 +0000 (09:20 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 20 Mar 2014 11:17:19 +0000 (04:17 -0700)
commit176b437762a310d5ac7ed3c015ece9dd65c7e240
treedd0d70c83435e3b00135b701ef5ee1f1118e44d1
parent30ca64f9f9db014755d632acffd0d2b507d7af6d
mtd: st_spi_fsm: Supply a busy wait for post-write status

When we write data to the Serial Flash chip we'll wait a predetermined
period of time before giving up. During that period of time we poll the
status register until completion.

Acked-by Angus Clark <angus.clark@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/st_spi_fsm.c