Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c27e9b7 authored by Pradeep P V K's avatar Pradeep P V K
Browse files

mtd: msm_qpic_nand: Add mutex lock in system suspend/resume functions



Some race condition is happening where as part of mtd_write_oob post
msm_nand_get_devices function msm_nand_suspend function is getting
invoked and since we don't have any locks there so it ends up turning
off the qpic clocks leading to NOC error.

Add mutex lock in system suspend/resume functions for synchronization.

Change-Id: Iaa3e3ee0041c425e2edddc5a023074009010e393
Signed-off-by: default avatarSarthak Garg <quic_sartgarg@quicinc.com>
Signed-off-by: default avatarPradeep P V K <quic_pragalla@quicinc.com>
parent 58114830
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment