Re: [PATCH] soc: qcom: pmic_glink_altmode: Fix TBT->SAFE->!TBT transition

From: Dmitry Baryshkov

Date: Tue Mar 17 2026 - 10:54:35 EST


On Tue, Mar 17, 2026 at 03:14:40PM +0100, Konrad Dybcio wrote:
> From: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
>
> Similar to the case of commit d48708500610 ("soc: qcom:
> pmic_glink_altmode: Fix SVID=DP && unconnected edge case"), leaving the
> TBT altmode makes pmic_glink_altmode report a SVID=TBT && mux_ctrl=0
> message.
>
> Said commit reordered the check such that the SVID is processed before
> checking for NO_CONN. Rework this to take into account valid values of
> mux_ctrl first and hopefully solve this for good..
>
> Fixes: d48708500610 ("soc: qcom: pmic_glink_altmode: Fix SVID=DP && unconnected edge case")
> Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
> ---
> drivers/soc/qcom/pmic_glink_altmode.c | 23 ++++++++++++++++++-----
> 1 file changed, 18 insertions(+), 5 deletions(-)
>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>


--
With best wishes
Dmitry