drm/sun4i: Protect the TCON pixel clocks
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 21 Feb 2018 09:20:27 +0000 (10:20 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 26 Feb 2018 10:57:35 +0000 (11:57 +0100)
commit79d103a565d16b1893d990b2ee5e0fe71767759f
tree7065fea0a82fc89ae88dbdae063bf03b5c1f6f39
parent80b79e31c4195731464d96716f15716f38a555eb
drm/sun4i: Protect the TCON pixel clocks

Both TCON clocks are very sensitive to clock changes, since any change
might lead to improper timings.

Make sure our rate is never changed.

Tested-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/d5224d2e81ecf73dc09f234e580ada52c00eaee3.1519204731.git-series.maxime.ripard@bootlin.com
drivers/gpu/drm/sun4i/sun4i_tcon.c