Jia-Ju Bai 586092ab4b gpu: drm: amdgpu: Replace mdelay with msleep in cik_pcie_gen3_enable()
cik_pcie_gen3_enable() is only called by cik_common_hw_init(), which is
never called in atomic context.
cik_pcie_gen3_enable() calls 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>
2018-07-25 15:06:40 -05:00
..
2018-06-12 16:19:22 -07:00
2018-07-06 10:01:56 +10:00
2018-07-17 14:18:28 -05:00
2015-06-03 21:03:15 -04:00
2018-07-18 16:18:45 -05:00
2018-06-15 12:20:38 -05:00
2017-10-20 13:28:44 -04:00
2015-06-03 21:03:15 -04:00
2018-02-19 14:18:10 -05:00
2017-09-26 17:01:32 -04:00
2015-06-03 21:03:17 -04:00
2016-08-31 15:21:09 -04:00
2017-12-27 11:34:02 -05:00
2018-02-19 14:18:11 -05:00