drm: vc4_hdmi: Replace long udelay with usleep_range
Subsystems (3)
PATCH 1/1 drm: vc4_hdmi: Replace long udelay with usleep_range
Since we aren't in atomic context replace this long udelay with a usleep_range.
Signed-off-by Stefan Wahren <[email protected]>
--- drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/vc4/vc4_hdmi.c +1 -1
@@ -681,7 +681,7 @@ static void vc4_hdmi_encoder_enable(struct drm_encoder *encoder) drift & ~VC4_HDMI_FIFO_CTL_RECENTER);HDMI_WRITE (VC4_HDMI_FIFO_CTL , drift |VC4_HDMI_FIFO_CTL_RECENTER ); -udelay (1000 ); +usleep_range (1000 ,1100 );HDMI_WRITE (VC4_HDMI_FIFO_CTL , drift & ~VC4_HDMI_FIFO_CTL_RECENTER ); HDMI_WRITE(VC4_HDMI_FIFO_CTL,
Signature · 6 lines
2.7.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 2 lines · Stefan Wahren
Since we aren't in atomic context replace this long udelay with a
usleep_range.
Reviewed and pushed to drm-misc-next. Thanks!
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel