Skip to content
Commit 54b9b5a4 authored by Zhang Lixu's avatar Zhang Lixu Committed by Greg Kroah-Hartman
Browse files

HID: intel-ish-hid: fix wrong error handling in ishtp_cl_alloc_tx_ring()



[ Upstream commit 16ff7bf6 ]

When allocating tx ring buffers failed, should free tx buffers, not rx buffers.

Signed-off-by: default avatarZhang Lixu <lixu.zhang@intel.com>
Acked-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2406e889
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment