ath5k: Use usleep_range where possible
Use usleep_range where possible to reduce busy waits Signed-off-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
ce169aca0d
commit
1846ac3dbe
@@ -98,7 +98,7 @@ ath5k_pci_eeprom_read(struct ath_common *common, u32 offset, u16 *data)
|
||||
0xffff);
|
||||
return true;
|
||||
}
|
||||
udelay(15);
|
||||
usleep_range(15, 20);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user