On 4/3/2024 8:40 AM, Dmitry Baryshkov wrote:
Take the client_lock before traversing the clients list at the pmic_glink_state_notify_clients() function. This is required to keep the list traversal safe from concurrent modification. Fixes: 58ef4ece1e41 ("soc: qcom: pmic_glink: Introduce base PMIC GLINK driver") Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
Nice catch. Reviewed-by: Mukesh Ojha <quic_mojha@xxxxxxxxxxx> -Mukesh