Merge tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC platform updates from Olof Johansson: "Improved and new platform support for various SoCs: New SoC support: - Broadcom BCM23550 - Freescale i.MX7Solo - Qualcomm MDM9615 - Renesas r8a7792 Improvements: - convert clps711x to multiplatform - debug uart improvements for Atmel platforms - Tango platform improvements: HOTPLUG_CPU, Suspend-to-ram - OMAP tweaks and improvements to hwmod - OMAP support for kexec on SMP" * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (109 commits) ARM: davinci: fix build break because of undeclared dm365_evm_snd_data ARM: s3c64xx: smartq: Avoid sparse warnings ARM: sti: Implement dummy L2 cache's write_sec ARM: STi: Update machine _namestr to be more generic. arm: meson: explicitly select clk drivers ARM: tango: add Suspend-to-RAM support ARM: hisi: consolidate the hisilicon machine entries ARM: tango: fix CONFIG_HOTPLUG_CPU=n build MAINTAINERS: Update BCM281XX/BCM11XXX/BCM216XX entry MAINTAINERS: Update BCM63XX entry MAINTAINERS: Add NS2 entry MAINTAINERS: Fix nsp false-positives MAINTAINERS: Change L to M for Broadcom ARM/ARM64 SoC entries ARM: debug: Enable DEBUG_BCM_5301X for Northstar Plus SoCs ARM: clps711x: Switch to MULTIPLATFORM ARM: clps711x: Remove boards support ARM: clps711x: Add basic DT support ARM: clps711x: Reduce static map size ARM: SAMSUNG: Constify iomem address passed to s5p_init_cpu ARM: oxnas: Change OX810SE default driver config ...
This commit is contained in:
@@ -55,14 +55,14 @@ static struct irq_domain *domain;
|
||||
#define TZIC_NUM_IRQS 128
|
||||
|
||||
#ifdef CONFIG_FIQ
|
||||
static int tzic_set_irq_fiq(unsigned int irq, unsigned int type)
|
||||
static int tzic_set_irq_fiq(unsigned int hwirq, unsigned int type)
|
||||
{
|
||||
unsigned int index, mask, value;
|
||||
|
||||
index = irq >> 5;
|
||||
index = hwirq >> 5;
|
||||
if (unlikely(index >= 4))
|
||||
return -EINVAL;
|
||||
mask = 1U << (irq & 0x1F);
|
||||
mask = 1U << (hwirq & 0x1F);
|
||||
|
||||
value = imx_readl(tzic_base + TZIC_INTSEC0(index)) | mask;
|
||||
if (type)
|
||||
|
Reference in New Issue
Block a user