Skip to content

Commit e7830f5

Browse files
sjoerdsimonsgclement
authored andcommitted
bus: moxtet: Mark the irq as shared
The Turris Mox shares the moxtet IRQ with various devices on the board, so mark the IRQ as shared in the driver as well. Without this loading the module will fail with: genirq: Flags mismatch irq 40. 00002002 (moxtet) vs. 00002080 (mcp7940x) Signed-off-by: Sjoerd Simons <sjoerd@collabora.com> Cc: <stable@vger.kernel.org> # v6.2+ Reviewed-by: Marek Behún <kabel@kernel.org> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
1 parent b85ea95 commit e7830f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/bus/moxtet.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ static int moxtet_irq_setup(struct moxtet *moxtet)
755755
moxtet->irq.masked = ~0;
756756

757757
ret = request_threaded_irq(moxtet->dev_irq, NULL, moxtet_irq_thread_fn,
758-
IRQF_ONESHOT, "moxtet", moxtet);
758+
IRQF_SHARED | IRQF_ONESHOT, "moxtet", moxtet);
759759
if (ret < 0)
760760
goto err_free;
761761

0 commit comments

Comments
 (0)