diff options
author | Rob Clark <robdclark@chromium.org> | 2024-02-17 16:02:26 +0100 |
---|---|---|
committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2024-02-23 17:03:52 +0200 |
commit | f79ee78767ca60e7a2c89eacd2dbdf237d97e838 (patch) | |
tree | 6f7e3cf014f1d71a0a03e3d4edea8c3f0913d0a6 /drivers/macintosh | |
parent | b979f2d50a099f3402418d7ff5f26c3952fb08bb (diff) | |
download | linux-f79ee78767ca60e7a2c89eacd2dbdf237d97e838.tar.gz linux-f79ee78767ca60e7a2c89eacd2dbdf237d97e838.tar.bz2 linux-f79ee78767ca60e7a2c89eacd2dbdf237d97e838.zip |
soc: qcom: pmic_glink: Fix boot when QRTR=m
We need to bail out before adding/removing devices if we are going to
-EPROBE_DEFER. Otherwise boot can get stuck in a probe deferral loop due
to a long-standing issue in driver core (see commit fbc35b45f9f6 ("Add
documentation on meaning of -EPROBE_DEFER")).
Deregistering the altmode child device can potentially also trigger bugs
in the DRM bridge implementation, which does not expect bridges to go
away.
[DB: slightly fixed commit message by adding the word 'commit']
Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Link: https://lore.kernel.org/r/20231213210644.8702-1-robdclark@gmail.com
[ johan: rebase on 6.8-rc4, amend commit message and mention DRM ]
Fixes: 58ef4ece1e41 ("soc: qcom: pmic_glink: Introduce base PMIC GLINK driver")
Cc: <stable@vger.kernel.org> # 6.3
Cc: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240217150228.5788-5-johan+linaro@kernel.org
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions