soc: qcom: pdr: Fix error return code in pdr_register_listener
stable inclusion from stable-5.10.37 commit 165b71a98c5a6c30379f00d7e96190c6b447d67c bugzilla: 51868 CVE: NA -------------------------------- [ Upstream commit 769738fc ] Fix to return the error code -EREMOTEIO from pdr_register_listener rather than 0. Fixes: fbe639b4 ("soc: qcom: Introduce Protection Domain Restart helpers") Reported-by: NHulk Robot <hulkci@huawei.com> Signed-off-by: NQinglang Miao <miaoqinglang@huawei.com> Link: https://lore.kernel.org/r/20201125065034.154217-1-miaoqinglang@huawei.comSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NWeilong Chen <chenweilong@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录