Commit b2bb01ed authored by Lina Iyer's avatar Lina Iyer Committed by Marc Zyngier
Browse files

irqchip/qcom-pdc: Update max PDC interrupts



Newer SoCs have increased the number of interrupts routed to the PDC
interrupt controller. Update the definition of max PDC interrupts.

Signed-off-by: default avatarLina Iyer <ilina@codeaurora.org>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/1573855915-9841-3-git-send-email-ilina@codeaurora.org
parent 09d31567
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
// SPDX-License-Identifier: GPL-2.0
/*
/*
 * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
 */
 */


#include <linux/err.h>
#include <linux/err.h>
@@ -18,7 +18,7 @@
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/types.h>


#define PDC_MAX_IRQS		126
#define PDC_MAX_IRQS		168


#define CLEAR_INTR(reg, intr)	(reg & ~(1 << intr))
#define CLEAR_INTR(reg, intr)	(reg & ~(1 << intr))
#define ENABLE_INTR(reg, intr)	(reg | (1 << intr))
#define ENABLE_INTR(reg, intr)	(reg | (1 << intr))