[PATCH v3] soc: qcom: pmic_glink: Fix device access from worker during suspend

Abel Vesa posted 1 patch 1 month, 1 week ago
drivers/soc/qcom/pmic_glink_altmode.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Re: [PATCH v3] soc: qcom: pmic_glink: Fix device access from worker during suspend
Posted by Bjorn Andersson 3 weeks, 6 days ago
On Wed, 19 Aug 2026 10:23:28 +0300, Abel Vesa wrote:
> For historical reasons, the GLINK smem interrupt is registered with
> IRRQF_NO_SUSPEND flag set, which is the underlying problem here, since the
> incoming messages can be delivered during late suspend and early
> resume.
> 
> In this specific case, the pmic_glink_altmode_worker() currently gets
> scheduled on the system_wq which can be scheduled to run while devices
> are still suspended. This proves to be a problem when a Type-C retimer,
> switch or mux that is controlled over a bus like I2C, because the I2C
> controller is suspended.
> 
> [...]

Applied, thanks!

[1/1] soc: qcom: pmic_glink: Fix device access from worker during suspend
      commit: 7d0767c5cd878707fd6711023731549c83563840

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>