Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33c133cc authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by David S. Miller
Browse files

phy: IRQ cannot be shared



With the way PHY IRQ handler is implemented (all real handling being pushed to
the workqueue and returning IRQ_HANDLED all the time PHY is active), we cannot
really claim that PHY IRQ can be shared when calling request_irq().

Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f81152e3
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -565,9 +565,7 @@ int phy_start_interrupts(struct phy_device *phydev)
	int err = 0;

	atomic_set(&phydev->irq_disable, 0);
	if (request_irq(phydev->irq, phy_interrupt,
				IRQF_SHARED,
				"phy_interrupt",
	if (request_irq(phydev->irq, phy_interrupt, 0, "phy_interrupt",
			phydev) < 0) {
		pr_warn("%s: Can't get IRQ %d (PHY)\n",
			phydev->bus->name, phydev->irq);