drm: meson: mask value when writing bits relaxed
authorJulien Masson <jmasson@baylibre.com>
Mon, 24 Jun 2019 14:47:56 +0000 (16:47 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 9 Aug 2019 09:37:30 +0000 (11:37 +0200)
commitf237bf2de82eafd224eb981c6c0bca8a9e039af6
tree46e4685bfc08a2c8f759a81596e97e89badb5ad0
parentd8a0d6a3b7810fe3de723505c75f7f34ee6891df
drm: meson: mask value when writing bits relaxed

The value used in the macro writel_bits_relaxed has to be masked since
we don't want change the bits outside the mask.

Signed-off-by: Julien Masson <jmasson@baylibre.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/86y31r82fo.fsf@baylibre.com
drivers/gpu/drm/meson/meson_registers.h