mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-17 20:57:01 +02:00
net: ti: am65-cpsw-nuss: fix error handling for "RX dma add buf failed"
The RX DMA channel has been requested at this point already, so it must be freed. Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
This commit is contained in:
parent
0898f44b23
commit
b079bd9e29
@ -361,7 +361,7 @@ static int am65_cpsw_start(struct udevice *dev)
|
||||
UDMA_RX_BUF_SIZE);
|
||||
if (ret) {
|
||||
dev_err(dev, "RX dma add buf failed %d\n", ret);
|
||||
goto err_free_tx;
|
||||
goto err_free_rx;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user