mtd: st_spi_fsm: Add the ability to read from a Serial Flash device
authorLee Jones <lee.jones@linaro.org>
Thu, 20 Mar 2014 09:20:57 +0000 (09:20 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 20 Mar 2014 11:17:19 +0000 (04:17 -0700)
commite514f10578ede5b5b07213cfebb57a2907e13f65
tree39d768a661d5f80270292c23cdfd45be646c06ff
parent4eb3f0d8f70b667f8a59cc4f74003884562ef17f
mtd: st_spi_fsm: Add the ability to read from a Serial Flash device

When a read is issued by userspace the MTD framework calls back into
the driver to conduct the actual command issue and data extraction.
Here we provide the routines which do exactly that.

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