]> git.ipfire.org Git - people/ms/u-boot.git/commit - include/spi.h
dm: spi: Correct SPI claim/release_bus() methods
authorSimon Glass <sjg@chromium.org>
Sun, 19 Apr 2015 15:05:40 +0000 (09:05 -0600)
committerJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Thu, 23 Apr 2015 09:53:45 +0000 (15:23 +0530)
commit9694b724421b88acf7d553a55e4a43fa4e25e7be
tree4a4fada5869fe5606950485b22fd6031ef6647c4
parent4fbad92e7382c74757a58491deb6d210d1d842db
dm: spi: Correct SPI claim/release_bus() methods

These methods should be passed a slave device, not a bus. This matches the
old SPI interface. It is important to know which device is claiming the bus
so passing a bus is not that useful.

Reported-by: Haikun Wang <haikun.wang@freescale.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Peng Fan <Peng.Fan@freescale.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
drivers/spi/exynos_spi.c
drivers/spi/spi-uclass.c
drivers/spi/tegra114_spi.c
drivers/spi/tegra20_sflash.c
drivers/spi/tegra20_slink.c
include/spi.h