]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: Initialize registers in tcon-top driver
authorJernej Skrabec <jernej.skrabec@siol.net>
Sun, 4 Nov 2018 18:27:00 +0000 (19:27 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 5 Nov 2018 10:49:05 +0000 (11:49 +0100)
commit0198271ee5fc51d0484af5a5d37df3180bd6d827
tree1f4e0a0f009764b1a86adbc6592ed1b78c47f32e
parent8e5f0106b6f34cf6d24138e1bb54b8e858deea2b
drm/sun4i: Initialize registers in tcon-top driver

It turns out that TCON TOP registers in H6 SoC have non-zero reset
value. This may cause issues if bits are not changed during
configuration.

To prevent that, initialize registers to 0.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181104182705.18047-24-jernej.skrabec@siol.net
drivers/gpu/drm/sun4i/sun8i_tcon_top.c