]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi: Update for new sequence numbers
authorSimon Glass <sjg@chromium.org>
Thu, 17 Dec 2020 04:20:19 +0000 (21:20 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Dec 2020 03:32:21 +0000 (20:32 -0700)
Use the new sequence number in all cases. Drop the rockchip case because
the sequence number should be 0 anyway, and assigning to the sequence
number is not permitted.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/spi/fsl_dspi.c
drivers/spi/rk_spi.c

index c5e8e2a1cb444979d7d4734d8deeb514818cb75b..ddf4a9e413ff5f2e1d1091887aed1cbc9da3d868 100644 (file)
@@ -569,7 +569,7 @@ static int fsl_dspi_release_bus(struct udevice *dev)
  */
 static int fsl_dspi_bind(struct udevice *bus)
 {
-       debug("%s assigned req_seq %d.\n", bus->name, bus->req_seq);
+       debug("%s assigned seq %d.\n", bus->name, dev_seq(bus));
        return 0;
 }
 
index 64bb257ae70f43cde56b4f85fbb6157edc86f30c..44ac475c11d3d9eaf2c78efe481983022c096965 100644 (file)
@@ -186,7 +186,6 @@ static int conv_of_plat(struct udevice *dev)
        ret = clk_get_by_driver_info(dev, dtplat->clocks, &priv->clk);
        if (ret < 0)
                return ret;
-       dev->req_seq = 0;
 
        return 0;
 }