mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 03:01:41 +02:00
irqchip: qcom-pdc: Fix IRQ_i_CFG_IRQ_ENABLE definition
IRQ_i_CFG_IRQ_ENABLE is used in __assign_bit(). Correctly define IRQ_i_CFG_IRQ_ENABLE bit. Change-Id: I5f6339b7511bc153ea1ee72f13d1bd10f8deef2d Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
This commit is contained in:
parent
965cbd9f9e
commit
2919c69225
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#define IRQ_ENABLE_BANK 0x10
|
||||
#define IRQ_i_CFG 0x110
|
||||
#define IRQ_i_CFG_IRQ_ENABLE BIT(3)
|
||||
#define IRQ_i_CFG_IRQ_ENABLE 3
|
||||
#define IRQ_i_CFG_TYPE_MASK 0x7
|
||||
|
||||
#define VERSION 0x1000
|
||||
|
|
@ -388,7 +388,7 @@ static int pdc_setup_pin_mapping(struct device_node *np)
|
|||
} else {
|
||||
for (i = 0; i < max_irq; i++) {
|
||||
val = pdc_reg_read(IRQ_i_CFG, i);
|
||||
val &= ~IRQ_i_CFG_IRQ_ENABLE;
|
||||
val &= ~BIT(IRQ_i_CFG_IRQ_ENABLE);
|
||||
pdc_reg_write(IRQ_i_CFG, i, val);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user