]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: xilinx_spi: Use udevice in start_tranfer
authorMayuresh Chitale <mchitale@ventanamicro.com>
Thu, 16 Nov 2023 16:43:34 +0000 (22:13 +0530)
committerMichal Simek <michal.simek@amd.com>
Wed, 13 Dec 2023 07:58:06 +0000 (08:58 +0100)
commit4c18d9f6d0a52ce63993a59d7d63529fd294358f
tree6dcab006fda3f1641ca7bb69d856f68ccf33434f
parenta6955800bfe47131dcabc65a4f5140f556387944
drivers: xilinx_spi: Use udevice in start_tranfer

Modify start_transfer and related functions to take a udevice parameter
as input instead of spi_slave. This is needed so that start_transfer can
be used directly via the xfer callback. Also fix a compiler warning.

Signed-off-by: Mayuresh Chitale <mchitale@ventanamicro.com>
Tested-by: Love Kumar <love.kumar@amd.com>
Link: https://lore.kernel.org/r/20231116164336.140171-2-mchitale@ventanamicro.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/spi/xilinx_spi.c