mtd: st_spi_fsm: Supply a method to read from the FSM's FIFO
authorLee Jones <lee.jones@linaro.org>
Thu, 20 Mar 2014 09:20:37 +0000 (09:20 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 20 Mar 2014 11:17:14 +0000 (04:17 -0700)
commit030e82dc6386f23bcd05876b452d2618dd8046b4
tree8412fe7b0fce3ab9aa06615fd72544d63e81a67d
parent3c8b85b340c7a6b47d50c12c03661c23a5858b88
mtd: st_spi_fsm: Supply a method to read from the FSM's FIFO

When invoked the driver will attempt to read any available data from
the FSM's data register. Any data collected from this FIFO would have
originated from the flash chip.

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