mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mfd: cpcap: Fix bad use of IRQ sense register
The cpcap INTS registers are for getting the value of the line,
not for configuring the type.
Fixes: 56e1d40d3b ("mfd: cpcap: Add minimal support")
Reviewed-By: Sebastian Reichel <[email protected]>
Tested-by: Sebastian Reichel <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
This commit is contained in:
parent
5a88d41200
commit
be269180c9
1 changed files with 0 additions and 1 deletions
|
|
@ -116,7 +116,6 @@ static struct regmap_irq_chip cpcap_irq_chip[CPCAP_NR_IRQ_CHIPS] = {
|
|||
.status_base = CPCAP_REG_INT1,
|
||||
.ack_base = CPCAP_REG_INT1,
|
||||
.mask_base = CPCAP_REG_INTM1,
|
||||
.type_base = CPCAP_REG_INTS1,
|
||||
.use_ack = true,
|
||||
.ack_invert = true,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue