On Tue, 20 Aug 2024 13:29:29 -0700, Bjorn Andersson wrote: > Amit and Johan both reported a NULL pointer dereference in the > pmic_glink client code during initialization, and Stephen Boyd pointed > out the problem (race condition). > > While investigating, and writing the fix, I noticed that > ucsi_unregister() is called in atomic context but tries to sleep, and I > also noticed that the condition for when to inform the pmic_glink client > drivers when the remote has gone down is just wrong. > > [...] Applied, thanks! [1/3] soc: qcom: pmic_glink: Fix race during initialization commit: e4bff3088afc459687ed90c6584c443bcb5fba90 [2/3] usb: typec: ucsi: Move unregister out of atomic section commit: 15f19bc3de2ab0a5ece2e6aa34f626b38e9317cc [3/3] soc: qcom: pmic_glink: Actually communicate when remote goes down commit: 8d856ad26551f9a9f428a73bf422e81c98e774ae Best regards, -- Bjorn Andersson <andersson@xxxxxxxxxx>