Skip to content

Commit 23a25ed

Browse files
Gustavo Padovandanvet
authored andcommitted
drm/atmel: use drm_crtc_vblank_{get,put}()
Replace the legacy drm_vblank_{get,put}() with the new helper functions. Signed-off-by: Gustavo Padovan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent accbaf6 commit 23a25ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ static void atmel_hlcdc_crtc_finish_page_flip(struct atmel_hlcdc_crtc *crtc)
375375
spin_lock_irqsave(&dev->event_lock, flags);
376376
if (crtc->event) {
377377
drm_crtc_send_vblank_event(&crtc->base, crtc->event);
378-
drm_vblank_put(dev, crtc->id);
378+
drm_crtc_vblank_put(&crtc->base);
379379
crtc->event = NULL;
380380
}
381381
spin_unlock_irqrestore(&dev->event_lock, flags);

0 commit comments

Comments
 (0)