mtd: st_spi_fsm: Supply framework for device requests
authorLee Jones <lee.jones@linaro.org>
Thu, 20 Mar 2014 09:20:36 +0000 (09:20 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 20 Mar 2014 11:17:14 +0000 (04:17 -0700)
commit3c8b85b340c7a6b47d50c12c03661c23a5858b88
tree3023497f1e5d493abb80d3c03428b707a2eef19c
parent86f309fd8fb291039a3776593a0b2a9d86c895ab
mtd: st_spi_fsm: Supply framework for device requests

The FSM hardware works by setting a predetermined sequence of register
writes. Rather than open coding them inside each functional block we're
going to define them in a series of formatted 'sequence structures'.
This patch provides the framework which shall be used for every action.

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