]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mediatek: fix a typo of DISP_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>
Thu, 24 Nov 2016 06:53:14 +0000 (14:53 +0800)
commit0999e93e3e3cb45df6410e551395d5fb8f47d5dc
treeba403efd7b86230d03a2ba30af4b7dac6178cc7b
parent27e08340dafac41fab594c436acee8ea5d8bddc7
drm/mediatek: fix a typo of DISP_OD_CFG to OD_RELAYMODE

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

Change-Id: Ifb9bb4caa63df906437d48b5d5326b6d04ea332a
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