projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0898f44
)
net: ti: am65-cpsw-nuss: fix error handling for "RX dma add buf failed"
author
Matthias Schiffer
<matthias.schiffer@ew.tq-group.com>
Fri, 26 Apr 2024 08:02:26 +0000
(10:02 +0200)
committer
Tom Rini
<trini@konsulko.com>
Wed, 15 May 2024 16:46:47 +0000
(10:46 -0600)
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>
drivers/net/ti/am65-cpsw-nuss.c
patch
|
blob
|
history
diff --git
a/drivers/net/ti/am65-cpsw-nuss.c
b/drivers/net/ti/am65-cpsw-nuss.c
index e0968f6e6fcca516d18d8ef1b6bf665496f5f0e2..c70b42f6bcc249ff9124c2952a38311f32ad19f9 100644
(file)
--- a/
drivers/net/ti/am65-cpsw-nuss.c
+++ b/
drivers/net/ti/am65-cpsw-nuss.c
@@
-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_
t
x;
+ goto err_free_
r
x;
}
}