mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-03 17:43:45 +08:00
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>
This commit is contained in:
parent
42f3663a3f
commit
6d83c74db7
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user