]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: Move access control before setting the register as documented
authorMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 18 Jan 2019 14:51:27 +0000 (15:51 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 18 Jan 2019 20:11:47 +0000 (21:11 +0100)
commitfe045fd908c43b396ecf187a7f1d5630a09ab4d1
tree5bd4f6584528f367052d7a84512ea653e4d6bd23
parent1664a98b1ac7589289f9edd374e5edfd5b2c6f2d
drm/sun4i: Move access control before setting the register as documented

Unlike what is currently being done, the ACCESS_CTRL bit documentation asks
that this bit should be set before modifying any register. The code in the
BSP also does this, so make sure we do this as well.

Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190118145133.21281-18-paul.kocialkowski@bootlin.com
drivers/gpu/drm/sun4i/sun4i_frontend.c