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

Commit 7bf3f232 authored by Francois Romieu's avatar Francois Romieu Committed by David S. Miller
Browse files

sis190: mdio operation failure is not correctly detected



i ranges from 0 to 100 in the 'for' loop a few lines above.

Reported by davem.

Signed-off-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
Cc: K.M. Liu <kmliu@sis.com.tw>
parent 11913d30
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -372,7 +372,7 @@ static void __mdio_cmd(void __iomem *ioaddr, u32 ctl)
		msleep(1);
	}

	if (i > 999)
	if (i > 99)
		printk(KERN_ERR PFX "PHY command failed !\n");
}