diff options
author | 2013-12-14 03:09:31 +0300 | |
---|---|---|
committer | 2013-12-23 09:27:17 +0900 | |
commit | ce70af18801fd8dac6e9f85308294948916e84d6 (patch) | |
tree | 8e2ddd6fd6cebb04cd93bff3030245be75c1a313 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | irqchip: renesas-irqc: Enable mask on suspend (diff) | |
download | linux-dev-ce70af18801fd8dac6e9f85308294948916e84d6.tar.xz linux-dev-ce70af18801fd8dac6e9f85308294948916e84d6.zip |
irq-renesas-irqc: simplify irq_set_type() method
Value 0 of the sense selection field of CONFIG_n register means "disable event
detection" and serves in irqc_sense[] for marking the invalid values of the IRQ
type (by just omitting initializers). There is no need for INTC_IRQ_SENSE_VALID
and hence INTC_IRQ_SENSE() as all field values matching to the valid IRQ types
are non-zero anyway.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions