drm/radeon: replace udelay with mdelay for long timeouts
Some architectures require that delays longer than a few miliseconds are called through mdelay. This was triggered on ARM randconfig builds. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:

committed by
Dave Airlie

parent
258f742635
commit
4de833c337
@@ -2553,7 +2553,7 @@ static void r100_pll_errata_after_data(struct radeon_device *rdev)
|
||||
* or the chip could hang on a subsequent access
|
||||
*/
|
||||
if (rdev->pll_errata & CHIP_ERRATA_PLL_DELAY) {
|
||||
udelay(5000);
|
||||
mdelay(5);
|
||||
}
|
||||
|
||||
/* This function is required to workaround a hardware bug in some (all?)
|
||||
|
Reference in New Issue
Block a user