diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-11-24 17:59:18 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-30 11:25:58 +0100 |
| commit | 682a73cdc9cd1557d45478ec8c8d8671302c3b49 (patch) | |
| tree | 85e3effeb3557a55571e701597c0f02dc634ae78 /include/linux/reset | |
| parent | 8e36d0ca5e10e3c9b612ab3d8f03c3b37d7918f8 (diff) | |
ath10k: Fix an error handling path
[ Upstream commit ed3573bc3943c27d2d8e405a242f87ed14572ca1 ]
If 'ath10k_usb_create()' fails, we should release some resources and report
an error instead of silently continuing.
Fixes: 4db66499df91 ("ath10k: add initial USB support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201122170342.1346011-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/reset')
0 files changed, 0 insertions, 0 deletions
