]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit94018601568c7bb9ff7ff1e861e7a6a5a49e2e29
tree5bd4f6584528f367052d7a84512ea653e4d6bd23
parent9db9c0cf5895e4ddde2814360cae7bea9282edd2
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