pat9126: add PM suspend / resume support

Lock / unlock mutex on SoC suspend / resume. This method
is adopted to avoid potential race condition where the IRQ
handler schedules a delayed workload and processes it post
suspend. This delayed workload now remains blocked on the
mutex.

Bug: 263634942
Change-Id: Ia14df8b9425419e00535d8603f9957c807f1a924
Signed-off-by: Amit Bhanagay <amitbhanagay@google.com>
2 files changed
tree: 629082464c2c24821d389364aa28b6e769cdfdda
  1. battery/
  2. bluetooth/
  3. gnss/
  4. haptics/
  5. input/
  6. net/
  7. nfc/
  8. rtc/
  9. sensorhub/
  10. sound/
  11. wlc/