mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
drm/i915: clean up udelay usage
udelay() of 20 milliseconds really ought to just use mdelay(), that avoids the various wrap scenarios and also is more readable Signed-off-by: Arjan van de Ven <[email protected]> Signed-off-by: Eric Anholt <[email protected]>
This commit is contained in:
parent
5ca5828208
commit
580982d399
1 changed files with 1 additions and 1 deletions
|
|
@ -636,7 +636,7 @@ void
|
|||
intel_wait_for_vblank(struct drm_device *dev)
|
||||
{
|
||||
/* Wait for 20ms, i.e. one cycle at 50hz. */
|
||||
udelay(20000);
|
||||
mdelay(20);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Reference in a new issue