]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mediatek: fix a typo of OD_CFG to OD_RELAYMODE
authorBibby Hsieh <bibby.hsieh@mediatek.com>
Tue, 18 Oct 2016 08:23:59 +0000 (16:23 +0800)
committerCK Hu <ck.hu@mediatek.com>
Wed, 19 Oct 2016 01:03:20 +0000 (09:03 +0800)
commit4a56c959d2726b9682aac080a34c1bd7f0b9958d
tree54c3e288bf79ba4bf95e08c2b8b9c9f9139920db
parent1df7eb1ca477b826c461b694d57789b4da41844a
drm/mediatek: fix a typo of OD_CFG to OD_RELAYMODE

If we want to set the hardware OD to relay mode,
we have to set OD_CFG register rather than
OD_RELAYMODE; otherwise, the system will access
the wrong address.

Fixes: 850ada6df276f508bd1a8be5b1feb7afd7de35f4 ("drm/mediatek: set mt8173 dithering function")
Cc: stable@vger.kernel.org # v4.9+
Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
Acked-by: CK Hu <ck.hu@mediatek.com>
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c