
1 May
2016
1 May
'16
8:54 p.m.
Hi Peng,
On 25 April 2016 at 19:20, Peng Fan van.freenix@gmail.com wrote:
Introduce dm_spi_claim_bus, dm_spi_release_bus and dm_spi_xfer
Signed-off-by: Peng Fan van.freenix@gmail.com Cc: Simon Glass sjg@chromium.org Cc: Jagan Teki jteki@openedev.com
V3: As Simon suggested, introduce new API. New patch.
This looks great. But can you please adjust the legacy functions to call your new ones? E.g. spi_claim_bus() should call your function.
drivers/spi/spi-uclass.c | 48 ++++++++++++++++++++++++++++++++++++++++++++ include/spi.h | 52 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 100 insertions(+)
[snip]