From: nsekhar@ti.com (Sekhar Nori)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] ARM: davinci: dm646x: fix timer interrupt generation
Date: Fri, 11 May 2018 20:51:34 +0530 [thread overview]
Message-ID: <20180511152136.29515-2-nsekhar@ti.com> (raw)
In-Reply-To: <20180511152136.29515-1-nsekhar@ti.com>
commit b38434145b34 ("ARM: davinci: irqs: Correct McASP1 TX
interrupt definition for DM646x") inadvertently removed
setting for priority 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>
---
arch/arm/mach-davinci/dm646x.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c
index 54a4299030de..6bd2ed069d0d 100644
--- a/arch/arm/mach-davinci/dm646x.c
+++ b/arch/arm/mach-davinci/dm646x.c
@@ -178,7 +178,8 @@ static u8 dm646x_default_priorities[DAVINCI_N_AINTC_IRQ] = {
[IRQ_DM646X_MCASP0TXINT] = 7,
[IRQ_DM646X_MCASP0RXINT] = 7,
[IRQ_DM646X_RESERVED_3] = 7,
- [IRQ_DM646X_MCASP1TXINT] = 7, /* clockevent */
+ [IRQ_DM646X_MCASP1TXINT] = 7,
+ [IRQ_TINT0_TINT12] = 7, /* clockevent */
[IRQ_TINT0_TINT34] = 7, /* clocksource */
[IRQ_TINT1_TINT12] = 7, /* DSP timer */
[IRQ_TINT1_TINT34] = 7, /* system tick */
--
2.16.2
next prev parent reply other threads:[~2018-05-11 15:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-11 15:21 [PATCH 0/3] ARM: davinci: some dm646x related fixes Sekhar Nori
2018-05-11 15:21 ` Sekhar Nori [this message]
2018-05-11 15:21 ` [PATCH 2/3] ARM: davinci: board-dm646x-evm: pass correct I2C adapter id for VPIF Sekhar Nori
2018-05-11 15:21 ` [PATCH 3/3] ARM: davinci: board-dm646x-evm: set VPIF capture card name Sekhar Nori
2018-05-15 9:22 ` [PATCH 0/3] ARM: davinci: some dm646x related fixes Sekhar Nori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180511152136.29515-2-nsekhar@ti.com \
--to=nsekhar@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox