drm/mediatek: dsi: Fix scrolling of panel with small hfp or hbp
authorJitao Shi <jitao.shi@mediatek.com>
Mon, 17 Aug 2020 13:06:40 +0000 (21:06 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Wed, 26 Aug 2020 22:49:02 +0000 (06:49 +0800)
commit35bf948f1edbf507f6e57e0879fa6ea36d2d2930
treee7ce529ace7e4422703e099c892201366263c032
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
drm/mediatek: dsi: Fix scrolling of panel with small hfp or hbp

horizontal_backporch_byte should be hbp * bpp - hbp extra bytes.
So remove the wrong subtraction 10.

Fixes: 7a5bc4e22ecf ("drm/mediatek: change the dsi phytiming calculate method")
Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_dsi.c