Skip to content
Commit 52cb1c2b authored by Andy Fleming's avatar Andy Fleming Committed by Jeff Garzik
Browse files

Fix error checking in Vitesse IRQ config



phy_read() returns a negative number if there's an error, but the
error-checking code in the Vitesse driver's config_intr function
triggers if phy_read() returns non-zero.  Correct that.

Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent fe6d3a40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment