diff options
| author | Abhijeet Dharmapurikar <[email protected]> | 2017-05-10 19:55:36 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-06-03 19:05:47 +0900 |
| commit | f6dda8e2e8479f3a71c88d6a21fe98d0fa7e0e31 (patch) | |
| tree | f2293bc34ae341feaeedbde780380a4bd3c56075 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | 6bc546e71e50b8dd49130033f066676504c29b0c (diff) | |
spmi: pmic-arb: fix missing interrupts
irq_enable is called when the device resumes. Note that the
irq_enable is called regardless of whether the interrupt was
marked enabled/disabled in the descriptor or whether it was
masked/unmasked at the controller while resuming.
The current driver unconditionally clears the interrupt in its
irq_enable callback. This is dangerous as any interrupts that
happen right before the resume could be missed.
Remove the irq_enable callback and use mask/unmask instead.
Also remove struct pmic_arb_irq_spec as it serves no real purpose.
It is used only in the translate function and the code is much
cleaner without it.
Signed-off-by: Abhijeet Dharmapurikar <[email protected]>
Signed-off-by: Kiran Gunda <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions