diff options
author | Jiada Wang <[email protected]> | 2019-04-24 14:11:44 +0900 |
---|---|---|
committer | Eduardo Valentin <[email protected]> | 2019-05-14 07:00:31 -0700 |
commit | 2c0928c9e004589dc9e7672c40a38d6c4ca12701 (patch) | |
tree | 3538d4ed80196012220b003f0eea8c184fa4fb87 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b4ab114cc6a1bbf8ca1d9a2339f2b5b43374029b (diff) |
thermal: rcar_gen3_thermal: fix interrupt type
Currently IRQF_SHARED type interrupt line is allocated, but it
is not appropriate, as the interrupt line isn't shared between
different devices, instead IRQF_ONESHOT is the proper type.
By changing interrupt type to IRQF_ONESHOT, now irq handler is
no longer needed, as clear of interrupt status can be done in
threaded interrupt context.
Because IRQF_ONESHOT type interrupt line is kept disabled until
the threaded handler has been run, so there is no need to protect
read/write of REG_GEN3_IRQSTR with lock.
Fixes: 7d4b269776ec6 ("enable hardware interrupts for trip points")
Signed-off-by: Jiada Wang <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Simon Horman <[email protected]>
Reviewed-by: Daniel Lezcano <[email protected]>
Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions