]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
Revert "net: mvmdio: avoid error message for optional IRQ"
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Mon, 16 Mar 2020 07:49:06 +0000 (20:49 +1300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Mar 2020 03:54:37 +0000 (20:54 -0700)
commit028fd76b9b1cc9e195ce60790791fd3f37b9b5d7
treebf541a224df198fa600511f11b92f12626ca94d0
parent32ca98feab8c9076c89c0697c5a85e46fece809d
Revert "net: mvmdio: avoid error message for optional IRQ"

This reverts commit e1f550dc44a4d535da4e25ada1b0eaf8f3417929.
platform_get_irq_optional() will still return -ENXIO when no interrupt
is provided so the additional error handling caused the driver prone to
fail when no interrupt was specified. Revert the change so we can apply
the correct minimal fix.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvmdio.c