]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
spi: zynqmp_gqspi: Remove xfer from zynqmp_qspi_ops
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Thu, 20 May 2021 08:04:03 +0000 (02:04 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 16 Jun 2021 08:40:10 +0000 (10:40 +0200)
In zynqmp_qspi_ops mem_ops is added, so all the trasfers tx and rx
happen through this function. So we dont need this xfer anymore.
Remove it.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
drivers/spi/zynqmp_gqspi.c

index 84fbd603c71edd8299e24ba1cab0c257e29f5e2b..de1031d327730d8ae06c5aaf02edd3d5261a8a2f 100644 (file)
@@ -1048,7 +1048,6 @@ static const struct spi_controller_mem_ops zynqmp_qspi_mem_ops = {
 static const struct dm_spi_ops zynqmp_qspi_ops = {
        .claim_bus      = zynqmp_qspi_claim_bus,
        .release_bus    = zynqmp_qspi_release_bus,
-       .xfer           = zynqmp_qspi_xfer,
        .set_speed      = zynqmp_qspi_set_speed,
        .set_mode       = zynqmp_qspi_set_mode,
        .mem_ops        = &zynqmp_qspi_mem_ops,