Skip to content
Commit fc191af1 authored by Markus Fuchs's avatar Markus Fuchs Committed by David S. Miller
Browse files

net: stmmac: platform: Fix misleading interrupt error msg



Not every stmmac based platform makes use of the eth_wake_irq or eth_lpi
interrupts. Use the platform_get_irq_byname_optional variant for these
interrupts, so no error message is displayed, if they can't be found.
Rather print an information to hint something might be wrong to assist
debugging on platforms which use these interrupts.

Signed-off-by: default avatarMarkus Fuchs <mklntf@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 13d0f7b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment