summaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorJiada Wang <jiada_wang@mentor.com>2019-04-24 14:11:44 +0900
committerEduardo Valentin <edubezval@gmail.com>2019-05-14 07:00:31 -0700
commit2c0928c9e004589dc9e7672c40a38d6c4ca12701 (patch)
tree3538d4ed80196012220b003f0eea8c184fa4fb87 /scripts/gdb/linux/lists.py
parentb4ab114cc6a1bbf8ca1d9a2339f2b5b43374029b (diff)
downloadlinux-stable-2c0928c9e004589dc9e7672c40a38d6c4ca12701.tar.gz
linux-stable-2c0928c9e004589dc9e7672c40a38d6c4ca12701.tar.bz2
linux-stable-2c0928c9e004589dc9e7672c40a38d6c4ca12701.zip
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 <jiada_wang@mentor.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Tested-by: Simon Horman <horms+renesas@verge.net.au> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions