]> git.baikalelectronics.ru Git - 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)
commitc936b977bb85d49b303ae0569d832dcf84e94236
treebf541a224df198fa600511f11b92f12626ca94d0
parenta083ff9df7f245f59fcb1cff0bad4aef4e5103f2
Revert "net: mvmdio: avoid error message for optional IRQ"

This reverts commit 50a7fa23e4b36ea6312641faf6524945f5ff726a.
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