]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
irqchip/irq-pruss-intc: Fix incorrect macro replacement
authorSuman Anna <s-anna@ti.com>
Mon, 1 Jul 2019 19:11:13 +0000 (14:11 -0500)
committerSuman Anna <s-anna@ti.com>
Mon, 1 Jul 2019 19:18:23 +0000 (14:18 -0500)
commit3671c56b7309f45f9a8a668af1616bf1980b9aea
treea4576f80149dc261059b69b6d037fd71570976a1
parent4022d1222efe82fb17ccf271af352b1206b012e0
irqchip/irq-pruss-intc: Fix incorrect macro replacement

The commit 57c76b3f2804 ("irqchip/irq-pruss-intc: Use macros
for operations on CMR and HMR") mistakenly replaced the number
of channels per Host Interrupt Map Register (4) with the wrong
macro HMR_CH_MAP_BITS which is the number of shift-bits to be
used per channel. Use the correct macro to fix this typo.

Fixes: 57c76b3f2804 ("irqchip/irq-pruss-intc: Use macros for operations on CMR and HMR")
Signed-off-by: Suman Anna <s-anna@ti.com>
drivers/irqchip/irq-pruss-intc.c