mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-30 08:07:59 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue