Commit 6fd17a57 authored by Alexey Khoroshilov's avatar Alexey Khoroshilov Committed by Lee Jones
Browse files

soc: qcom: gsbi: Fix error handling in gsbi_probe()



[ Upstream commit 8cd09a3d ]

If of_platform_populate() fails in gsbi_probe(),
gsbi->hclk is left undisabled.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: default avatarAlexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Change-Id: Id181a6d3f7099f3b2b3432624ac13bb6903977bd
Signed-off-by: default avatarLee Jones <joneslee@google.com>
parent 645f8a7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment