Skip to content

Commit

Permalink
irqchip/qcom-pdc: Update max PDC interrupts
Browse files Browse the repository at this point in the history
Newer SoCs have increased the number of interrupts routed to the PDC
interrupt controller. Update the definition of max PDC interrupts.

Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/1573855915-9841-3-git-send-email-ilina@codeaurora.org
  • Loading branch information
Lina Iyer authored and Marc Zyngier committed Nov 16, 2019
1 parent 09d3156 commit b2bb01e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/irqchip/qcom-pdc.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// 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>
Expand All @@ -18,7 +18,7 @@
#include <linux/slab.h>
#include <linux/types.h>

#define PDC_MAX_IRQS 126
#define PDC_MAX_IRQS 168

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

0 comments on commit b2bb01e

Please sign in to comment.