diff options
author | Milo Kim <[email protected]> | 2016-10-28 21:37:02 +0900 |
---|---|---|
committer | Tony Lindgren <[email protected]> | 2016-11-09 14:37:24 -0700 |
commit | 72478a0cc4025e16f68672844ebebf60524e1668 (patch) | |
tree | 7890547e95f3dffa7e8ebec6b2c9709422dd8668 /net/switchdev/switchdev.c | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) |
mfd: tps65217: Fix mismatched interrupt number
Enum value of 'tps65217_irq_type' is not matched with DT parsed hwirq
number[*].
The MFD driver gets the IRQ data by referencing hwirq, but the value is
different. So, irq_to_tps65217_irq() returns mismatched IRQ data.
Eventually, the power button driver enables not PB but USB interrupt
when it is probed.
According to the TPS65217 register map[**], USB interrupt is the LSB.
This patch defines synchronized IRQ value.
[*] include/dt-bindings/mfd/tps65217.h
[**] http://www.ti.com/lit/ds/symlink/tps65217.pdf
Signed-off-by: Milo Kim <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions