diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/atom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/atom.c b/drivers/gpu/drm/radeon/atom.c index e3b44562d265..bd0c843872b2 100644 --- a/drivers/gpu/drm/radeon/atom.c +++ b/drivers/gpu/drm/radeon/atom.c | |||
@@ -640,7 +640,8 @@ static void atom_op_delay(atom_exec_context *ctx, int *ptr, int arg) | |||
640 | uint8_t count = U8((*ptr)++); | 640 | uint8_t count = U8((*ptr)++); |
641 | SDEBUG(" count: %d\n", count); | 641 | SDEBUG(" count: %d\n", count); |
642 | if (arg == ATOM_UNIT_MICROSEC) | 642 | if (arg == ATOM_UNIT_MICROSEC) |
643 | schedule_timeout_uninterruptible(usecs_to_jiffies(count)); | 643 | udelay(count); |
644 | // schedule_timeout_uninterruptible(usecs_to_jiffies(count)); | ||
644 | else | 645 | else |
645 | schedule_timeout_uninterruptible(msecs_to_jiffies(count)); | 646 | schedule_timeout_uninterruptible(msecs_to_jiffies(count)); |
646 | } | 647 | } |