drm: rcar-du: Perform the initial CRTC setup from rcar_du_crtc_get()
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 14 Jul 2017 00:26:17 +0000 (03:26 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 24 Sep 2018 21:41:02 +0000 (00:41 +0300)
commit0bb63534fdf3bc9a82bcfe9f5c6a9653b8b2a3f1
tree593260193c090a1222dc2d7fd97ca7b6d39ff73a
parentc25c0136119990c62c160d95592714833bc214a5
drm: rcar-du: Perform the initial CRTC setup from rcar_du_crtc_get()

The rcar_du_crtc_get() function is always immediately followed by a call
to rcar_du_crtc_setup(). Call the later from the former to simplify the
code, and add a comment to explain how the get and put calls are
balanced.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
drivers/gpu/drm/rcar-du/rcar_du_crtc.c