]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
soc: qcom: apr: Fixup the error displayed on lookup failure
authorSibi Sankar <sibis@codeaurora.org>
Tue, 15 Sep 2020 15:42:32 +0000 (21:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Oct 2020 09:08:13 +0000 (10:08 +0100)
commit10c78d0a1a2f46d0a0d9f472fde4f530c8be17b4
treea45ef0c07db5755958b5fdbbe5e0f853f8842074
parente8bd4ce4e8779bf9de1c41c93abf0f9f37798dfb
soc: qcom: apr: Fixup the error displayed on lookup failure

[ Upstream commit ba34f977c333f96c8acd37ec30e232220399f5a5 ]

APR client incorrectly prints out "ret" variable on pdr_add_lookup failure,
it should be printing the error value returned by the lookup instead.

Fixes: 8347356626028 ("soc: qcom: apr: Add avs/audio tracking functionality")
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Link: https://lore.kernel.org/r/20200915154232.27523-1-sibis@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/qcom/apr.c