diff options
author | Christophe JAILLET <[email protected]> | 2022-01-15 13:45:03 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-01-15 22:34:52 +0000 |
commit | 9a9acdccdfa430457986db608ee4ae4840107057 (patch) | |
tree | 573bdba837571c0f4f07833025213be8b686c066 /lib/test-string_helpers.c | |
parent | 214b3369ab9b0a6f28d6c970220c209417edbc65 (diff) |
net: ethernet: sun4i-emac: Fix an error handling path in emac_probe()
A dma_request_chan() call is hidden in emac_configure_dma().
It must be released in the probe if an error occurs, as already done in
the remove function.
Add the corresponding dma_release_channel() call.
Fixes: 47869e82c8b8 ("sun4i-emac.c: add dma support")
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions