aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorHauke Mehrtens <[email protected]>2014-01-02 19:01:08 +0100
committerRalf Baechle <[email protected]>2014-01-24 22:39:52 +0100
commit978e55d2d83b6006fe0801877526ae240d41fd36 (patch)
tree01d030d1ecbd47c632d6c572d6ca99fc6c75e99b /lib/mpi/mpi-internal.h
parent17d97bad1ab966f1f39b10c48cd3f858a29b3659 (diff)
bcma: prevent irq handler from firing when registered
With this patch we prevent the irq from being fired when it is registered. The Hardware fires an IRQ when input signal XOR polarity AND gpio mask is 1. Now we are setting polarity to a vlaue so that is is 0 when we register it. In addition we also set the irq mask register to 0 when the irq handler is initialized, so all gpio irqs are masked and there will be no unexpected irq. Signed-off-by: Hauke Mehrtens <[email protected]> Tested-by: Rafał Miłecki <[email protected]> Signed-off-by: John Crispin <[email protected]> Patchwork: http://patchwork.linux-mips.org/patch/6304/
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions