diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-16 21:20:19 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-12-18 20:32:21 -0700 |
commit | 6d83c74db7ae2fa7d9beec7121382ee76e7c63c6 (patch) | |
tree | 1a18f16f3ef3a8363276d890f5944a8bc81e0e4e | |
parent | 42f3663a3f67b4da4dcdaaea615e3645aec0ba78 (diff) | |
download | u-boot-6d83c74db7ae2fa7d9beec7121382ee76e7c63c6.zip u-boot-6d83c74db7ae2fa7d9beec7121382ee76e7c63c6.tar.gz u-boot-6d83c74db7ae2fa7d9beec7121382ee76e7c63c6.tar.bz2 |
spi: Update for new sequence numbers
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>
-rw-r--r-- | drivers/spi/fsl_dspi.c | 2 | ||||
-rw-r--r-- | drivers/spi/rk_spi.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/fsl_dspi.c b/drivers/spi/fsl_dspi.c index c5e8e2a..ddf4a9e 100644 --- a/drivers/spi/fsl_dspi.c +++ b/drivers/spi/fsl_dspi.c @@ -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; } diff --git a/drivers/spi/rk_spi.c b/drivers/spi/rk_spi.c index 64bb257..44ac475 100644 --- a/drivers/spi/rk_spi.c +++ b/drivers/spi/rk_spi.c @@ -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; } |