gpu: drm: radeon: radeon_test: Replace mdelay() with msleep()
authorJia-Ju Bai <baijiaju1990@gmail.com>
Sat, 4 Aug 2018 00:01:02 +0000 (08:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:02 +0000 (11:10 -0500)
commit4b991c54ce82e85d89babcf32d72746365163ed5
tree8ec334782df410bf5cfdacdca49e6b83f545e05a
parent2f2debb5a162ea9aeb03ad2532827631e3a68b1a
gpu: drm: radeon: radeon_test: Replace mdelay() with msleep()

radeon_test_ring_sync() and radeon_test_ring_sync2() are never
called in atomic context.
They call mdelay() to busily wait, which is not necessary.
mdelay() can be replaced with msleep().

This is found by a static analysis tool named DCNS written by myself.

Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_test.c