]> 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)
commit67c89ba55933c70041363fa20feee75f471d74dd
tree54c3e288bf79ba4bf95e08c2b8b9c9f9139920db
parenta245803230f587f66ceddc152f3504b2a960aac2
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: b5d6486fdce8364f114b8c7ca16912db0794c3d8 ("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