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

Commit 91190758 authored by Alan Cox's avatar Alan Cox Committed by Jeff Garzik
Browse files

[libata] ata_timing fix

parent ccd7bc2f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1616,7 +1616,7 @@ static const struct ata_timing* ata_timing_find_mode(unsigned short speed)
	const struct ata_timing *t;

	for (t = ata_timing; t->mode != speed; t++)
		if (t->mode != 0xFF)
		if (t->mode == 0xFF)
			return NULL;
	return t; 
}