diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-04-27 10:46:21 +0000 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-05-04 11:53:16 +0300 |
commit | f76f750aeea47fd98b6502eb6d37f84ca33662bf (patch) | |
tree | f71aa8f365ba79bad9138eaaa0004f6a3651e249 /drivers/rpmsg | |
parent | 2326aa011967f0afbcba7fe1a005d01f8b12900b (diff) |
ath11k: fix error return code in ath11k_dp_alloc()
Fix to return negative error code -ENOMEM from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: d0998eb84ed3 ("ath11k: optimise ath11k_dp_tx_completion_handler")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200427104621.23752-1-weiyongjun1@huawei.com
Diffstat (limited to 'drivers/rpmsg')
0 files changed, 0 insertions, 0 deletions