mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 21:54:06 +08:00
drm/rcar-du: Don't cast crtc to rcrtc twice in the same function
Reuse the previously cast variable instead. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
This commit is contained in:
parent
c8ca9d6aa6
commit
f5abcc4674
@ -413,7 +413,7 @@ static int rcar_du_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y,
|
||||
rcrtc->plane->src_x = x;
|
||||
rcrtc->plane->src_y = y;
|
||||
|
||||
rcar_du_crtc_update_base(to_rcar_crtc(crtc));
|
||||
rcar_du_crtc_update_base(rcrtc);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user