mtd: st_spi_fsm: Add a check to if the chip can handle an SoC reset
authorLee Jones <lee.jones@linaro.org>
Thu, 20 Mar 2014 09:20:50 +0000 (09:20 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 20 Mar 2014 11:17:17 +0000 (04:17 -0700)
commit0ea7d70693431842b6b5c1808f59aa49e3fca6b1
treed75343e22265399f2c6a9750218a943bfdba3f64
parent88cccb89117dfe258c5d8abb55db47e0a2a7daec
mtd: st_spi_fsm: Add a check to if the chip can handle an SoC reset

Based on information we can obtain though platform specific data and/or
chip capabilities we are able to determine whether or not we can handle
a SoC reset or not. To find out why this is important please read the
comment provided in the patch.

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