File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -55,17 +55,22 @@ static const struct regmap_irq wcd934x_irqs[] = {
55
55
WCD934X_REGMAP_IRQ_REG (WCD934X_IRQ_SOUNDWIRE , 2 , BIT (4 )),
56
56
};
57
57
58
+ static const unsigned int wcd934x_config_regs [] = {
59
+ WCD934X_INTR_LEVEL0 ,
60
+ };
61
+
58
62
static const struct regmap_irq_chip wcd934x_regmap_irq_chip = {
59
63
.name = "wcd934x_irq" ,
60
64
.status_base = WCD934X_INTR_PIN1_STATUS0 ,
61
65
.mask_base = WCD934X_INTR_PIN1_MASK0 ,
62
66
.ack_base = WCD934X_INTR_PIN1_CLEAR0 ,
63
- .type_base = WCD934X_INTR_LEVEL0 ,
64
- .num_type_reg = 4 ,
65
- .type_in_mask = false,
66
67
.num_regs = 4 ,
67
68
.irqs = wcd934x_irqs ,
68
69
.num_irqs = ARRAY_SIZE (wcd934x_irqs ),
70
+ .config_base = wcd934x_config_regs ,
71
+ .num_config_bases = ARRAY_SIZE (wcd934x_config_regs ),
72
+ .num_config_regs = 4 ,
73
+ .set_type_config = regmap_irq_set_type_config_simple ,
69
74
};
70
75
71
76
static bool wcd934x_is_volatile_register (struct device * dev , unsigned int reg )
You can’t perform that action at this time.
0 commit comments