diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2024-04-26 11:41:29 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-05-04 17:24:28 +0530 |
commit | 2ff6365e2271282bea155541e5e3deb9d9ff1572 (patch) | |
tree | dd279bf4d4ea765c78f0c7326eb883129f2e1bbb /block/blk-lib.c | |
parent | 8b19c45ae4c0480ea07ab9f33c43d0fa6ea43aa1 (diff) |
phy: samsung-ufs: ufs: exit on first reported error
To preserve the err value, exit the loop immediately if an error
is returned.
Fixes: f2c6d0fa197a ("phy: samsung-ufs: use exynos_get_pmu_regmap_by_phandle() to obtain PMU regmap")
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20240426104129.2211949-3-peter.griffin@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions