aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2018-02-18 22:02:44 +0100
committerGreg Kroah-Hartman <[email protected]>2018-02-28 15:29:58 +0100
commit437768962f754d9501e5ba4d98b1f2a89dc62028 (patch)
tree1a882b3dbf3ae10f1d5d8c577d344481c303a51b /tools/perf/scripts/python
parent0399fd6147143ed9260041c9b466b67e60e1939e (diff)
serial: imx: Only handle irqs that are actually enabled
Handling an irq that isn't enabled can have some undesired side effects. Some of these are mentioned in the newly introduced code comment. Some of the irq sources already had their handling right, some don't. Handle them all in the same consistent way. The change for USR1_RRDY and USR1_AGTIM drops the check for dma_is_enabled. This is correct as UCR1_RRDYEN and UCR2_ATEN are always off if dma is enabled. Signed-off-by: Uwe Kleine-König <[email protected]> Reviewed-by: Shawn Guo <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions