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)
commit83ba62bc700bab710b22be3a1bf6cf973f754273
tree54c3e288bf79ba4bf95e08c2b8b9c9f9139920db
parent1001354ca34179f3db924eb66672442a173147dc
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: 7216436420414144646f5d8343d061355fd23483 ("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