diff options
author | Vipin Kumar <vipin.kumar@st.com> | 2012-05-07 13:00:25 +0530 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-07-07 14:07:39 +0200 |
commit | a5ad7ccd74de244f91d75fb3879eaa1929304e89 (patch) | |
tree | 7a6de91a175f462344ccf7fb0569178391368269 /drivers/gpio/da8xx_gpio.c | |
parent | a59c7b37b908639f9daa7fe50d4646b3947e2d62 (diff) |
st_smi: Fix smi read status
smi_read_sr fails sometimes because of TFF not getting set within assumed time.
This condition may arise because of, for example, smi memory being in a erase
mode.
This fix is to enable reading the status register until timeout.
Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Amit Virdi <amit.virdi@st.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/gpio/da8xx_gpio.c')
0 files changed, 0 insertions, 0 deletions