diff options
author | Lorenzo Bianconi <[email protected]> | 2020-06-21 18:03:38 +0200 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2020-06-23 11:43:16 +0300 |
commit | b1e79d105516fb96c39eb8a780936b87bae8e3e1 (patch) | |
tree | 4d30813c8a572decbb1518d243406f387332cb1b /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
parent | 4ac668a3b8c9d3477a3fe162c1cfeb867dd65de8 (diff) |
mt76: mt7663u: fix memory leaks in mt7663u_probe
Fix the two following memory leaks in mt7663u_probe:
1- if device power-own times out, remove ieee80211 hw device.
2- if mt76u queues allocation fails, remove pending urbs.
Fixes: eb99cc95c3b65 ("mt76: mt7615: introduce mt7663u support")
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/e4098f0c8a9ac51997de07f38c2bcdf7042d6db1.1592755166.git.lorenzo@kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions