drm/sti: Use drm_crtc_vblank_*() API
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / sti / sti_hqvdp.c
index 7c8f9b8bfae10a27339b6693b462406500639c6c..09d86be4f73fa6a9fde51b011474452d335fa6b5 100644 (file)
@@ -763,7 +763,7 @@ static void sti_hqvdp_atomic_update(struct drm_plane *drm_plane,
                /* Register VTG Vsync callback to handle bottom fields */
                if (sti_vtg_register_client(hqvdp->vtg,
                                            &hqvdp->vtg_nb,
-                                           mixer->id)) {
+                                           crtc)) {
                        DRM_ERROR("Cannot register VTG notifier\n");
                        return;
                }