]> 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)
commit830ce7beb9efd9be4d80155f9ca3e795bbda0ea6
tree5bd4f6584528f367052d7a84512ea653e4d6bd23
parentd2975b0351351120a6e4f9833c54e24a0be1c089
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