summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSarada Prasanna Garnayak <sgarna@codeaurora.org>2017-02-08 18:59:06 +0530
committerqcabuildsw <qcabuildsw@localhost>2017-02-15 14:15:03 -0800
commit1ed40f4bd7a0c9477b261b92befd519ccede1db5 (patch)
tree8d7b2521f8e32c64819ab023d4fe7626df48e70c /include
parent91d6a579c881cb20ad8b953c24a0ff0df9fe8063 (diff)
qcacmn: optimize the usage of runtime PM spinlock
Analyze the critical section of the runtime PM feature and replace the spin_lock_irqsave with spin_lock_bh. Disabling the IRQ and usage of spinlock for runtime PM debugging, logging and warning feature Is not required, remove the usage of spinlock from this context. The runtime PM APIs which is used for the prevent/allow runtime PM suspend /resume can be use spin_lock_bh instead of spin_lock_irqsave. For the runtime PM APIs add check point to identify the IRQ context, If the runtime PM APIs calling from IRQ context report WARN_ON for debugging purpose. CRs-Fixed: 1112447 Change-Id: If06970c6ac610a0128344e8c25a9cdd57b2542a3
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions