diff options
author | Jiefeng Li <[email protected]> | 2023-04-12 14:22:34 +0800 |
---|---|---|
committer | Felix Fietkau <[email protected]> | 2023-04-17 17:46:06 +0200 |
commit | 5c47cdebbaeb7724df6f9f46917c93e53f791547 (patch) | |
tree | 5f1b02a3ee3401c44b3249e2b44f27307f762e1c /drivers/usb/cdns3/cdns3-debug.h | |
parent | 12db28c3ef31f719bd18fa186a40bb152e6a527c (diff) |
wifi: mt76: mt7921: fix missing unwind goto in `mt7921u_probe`
`mt7921u_dma_init` can only return zero or negative number according to its
definition. When it returns non-zero number, there exists an error and this
function should handle this error rather than return directly.
Fixes: 0d2afe09fad5 ("mt76: mt7921: add mt7921u driver")
Signed-off-by: Jiefeng Li <[email protected]>
Reviewed-by: Dongliang Mu <[email protected]>
Reviewed-by: Sridhar Samudrala <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions