]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: tcon: Move out the tcon0 common setup
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 17 Oct 2017 09:06:14 +0000 (11:06 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 17 Oct 2017 17:49:14 +0000 (19:49 +0200)
commitcef0ac08485c3efc566a553583a598fac56a1a65
treea53195fea93ab97e3b0e8bad0a35fd84200e1fd9
parent996852f4b7d4066524cfb70490bd0a6869bb79a4
drm/sun4i: tcon: Move out the tcon0 common setup

Some channel0 setup has to be done, no matter what the output interface is
(RGB, CPU, LVDS). Move that code into a common function in order to avoid
duplication.

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/183100/
drivers/gpu/drm/sun4i/sun4i_tcon.c