diff options
author | Sean Paul <seanpaul@chromium.org> | 2013-01-14 17:03:20 -0500 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2013-01-25 14:38:45 +0900 |
commit | 09760ea34965a48d39e58607945e5e69edba01e6 (patch) | |
tree | d39a843936674acec721770328247a2169f316e6 /drivers/gpu/drm/exynos/exynos_mixer.c | |
parent | 0bc4a0aa377ec5e6e3bd2b8ac963a008d8e1401b (diff) | |
download | op-kernel-dev-09760ea34965a48d39e58607945e5e69edba01e6.zip op-kernel-dev-09760ea34965a48d39e58607945e5e69edba01e6.tar.gz |
drm/exynos: Replace mdelay with usleep_range
Replace the unnecessary atomic mdelay calls with usleep_range calls.
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_mixer.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index c187ea3..1ff2d7a 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c @@ -600,7 +600,7 @@ static void vp_win_reset(struct mixer_context *ctx) /* waiting until VP_SRESET_PROCESSING is 0 */ if (~vp_reg_read(res, VP_SRESET) & VP_SRESET_PROCESSING) break; - mdelay(10); + usleep_range(10000, 12000); } WARN(tries == 0, "failed to reset Video Processor\n"); } |