firewire: ohci: add bus-reset event for initial set of handled irq
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 1 May 2024 07:32:34 +0000 (16:32 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 6 May 2024 02:06:06 +0000 (11:06 +0900)
commit0d12f095b439b211ba10a51fd842e6f639459283
treea8df39dacdd90dc222ea7f62df5804643c768c4a
parenteec045c571cbf89cad5c6622e191af385ecf2340
firewire: ohci: add bus-reset event for initial set of handled irq

In the former commits, the spurious interrupt events are suppressed as
possible, by unset bus-reset event from the set of handled irq. The change
was written with the less-intrusive style, thus it firstly works at the
second time to handle the event. But it is slightly inconvenient.

This commit adds the event for the initial set of irq to handle. As a
result, the event can be handled even if it is the first time. The change
has a benefit that the OHCI_PARAM_DEBUG_BUSRESETS bit in debug module
parameter is always effective.

Tested-by: Adam Goldman <adamg@pobox.com>
Link: https://lore.kernel.org/r/20240501073238.72769-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/ohci.c