]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: davinci: dm646x: fix timer interrupt generation
authorSekhar Nori <nsekhar@ti.com>
Fri, 11 May 2018 15:21:34 +0000 (20:51 +0530)
committerSekhar Nori <nsekhar@ti.com>
Tue, 15 May 2018 08:59:34 +0000 (14:29 +0530)
commite5007e253abb75c96bbec4b1b4e9c31f97b65454
tree96c2f142eff22ea6bcc8cb497de353f0743efece
parent02c5f9003323e9bc088a4e74182b0190d6099b95
ARM: davinci: dm646x: fix timer interrupt generation

commit 882522db1338 ("ARM: davinci: irqs: Correct McASP1 TX interrupt
definition for DM646x") inadvertently removed priority setting for
timer0_12 (bottom half of timer0). This timer is used as clockevent.

When INTPRIn register setting for an interrupt is left at 0, it is
mapped to FIQ by the AINTC causing the timer interrupt to not get
generated.

Fix it by including an entry for timer0_12 in interrupt priority map
array. While at it, move the clockevent comment to the right place.

Fixes: 882522db1338 ("ARM: davinci: irqs: Correct McASP1 TX interrupt definition for DM646x")
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/dm646x.c