Re: [PATCH] bcma: prevent irq handler from firing when registered

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2014/1/2 Hauke Mehrtens <hauke@xxxxxxxxxx>:
> 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.

Sorry for this problem. Since the generated event was button release
one, I didn't notice this problem. Glad you were more careful when
testing it.

Thanks for the patch!


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux