drm/vc4: crtc: Use local chan variable
authorMaxime Ripard <maxime@cerno.tech>
Thu, 3 Sep 2020 08:00:43 +0000 (10:00 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 7 Sep 2020 16:02:36 +0000 (18:02 +0200)
commit32a851c217b72217ccb8c03a1fc230d34f98e223
tree91c2976c0f001d77905007520eb72bf8f0d48217
parent8ebb2cf0f6f42be258795a87fbe31d77440be20d
drm/vc4: crtc: Use local chan variable

The vc4_crtc_handle_page_flip already has a local variable holding the
value of vc4_crtc->channel, so let's use it instead.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://patchwork.freedesktop.org/patch/msgid/439c589baec72ddb89159857a2d078fdd77b02a2.1599120059.git-series.maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_crtc.c