On Sat, 17 Feb 2024 at 17:03, Johan Hovold <[email protected]> wrote: > > From: Rob Clark <[email protected]> > > 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 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. > > Suggested-by: Dmitry Baryshkov <[email protected]> > Signed-off-by: Rob Clark <[email protected]> > Link: https://lore.kernel.org/r/[email protected] > [ johan: rebase on 6.8-rc4, amend commit message and mention DRM ] > Fixes: 58ef4ece1e41 ("soc: qcom: pmic_glink: Introduce base PMIC GLINK > driver") > Cc: [email protected] # 6.3 > Cc: Bjorn Andersson <[email protected]> > Signed-off-by: Johan Hovold <[email protected]> > --- > drivers/soc/qcom/pmic_glink.c | 21 +++++++++++---------- > 1 file changed, 11 insertions(+), 10 deletions(-) >
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry
