]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2018 19:01:45 +0000 (04:01 +0900)
commit1246b7d158264e3a8de9acef59c84f73b52a901f
treea0b9dba57deb88e8913d7e3a68fb76cb06eae5a4
parent41807aab14f0bddbedef7d8d7882392501439456
ARM: davinci: dm646x: fix timer interrupt generation

[ Upstream commit 73d4337ed9ceddef4b2f0e226634d5f985aa2d1c ]

commit b38434145b34 ("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: b38434145b34 ("ARM: davinci: irqs: Correct McASP1 TX interrupt definition for DM646x")
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-davinci/dm646x.c