Skip to content
Commit 02b3de43 authored by Tomasz Stanislawski's avatar Tomasz Stanislawski Committed by Inki Dae
Browse files

drm: exynos: mixer: fix using usleep() in atomic context



This patch fixes calling usleep_range() after taking reg_slock
using spin_lock_irqsave(). The mdelay() is used instead.
Waiting in atomic context is not the best idea in general.
Hopefully, waiting occurs only when Video Processor fails
to reset correctly.

Signed-off-by: default avatarTomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent cf3e0fdd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment