Skip to content
Commit 2ff6365e authored by Peter Griffin's avatar Peter Griffin Committed by Vinod Koul
Browse files

phy: samsung-ufs: ufs: exit on first reported error



To preserve the err value, exit the loop immediately if an error
is returned.

Fixes: f2c6d0fa ("phy: samsung-ufs: use exynos_get_pmu_regmap_by_phandle() to obtain PMU regmap")
Signed-off-by: default avatarPeter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20240426104129.2211949-3-peter.griffin@linaro.org


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 8b19c45a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment