diff options
author | Icenowy Zheng <icenowy@aosc.io> | 2019-10-01 11:02:51 +0300 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2019-10-03 16:16:44 +0300 |
commit | a00d17e0a71ae2e4fdaac46e1c12785d3346c3f2 (patch) | |
tree | 338b9e45419112b359242ff9e940e0bed257e51b /drivers/spi/spi-pxa2xx.c | |
parent | 7ac6269968826f9cad61b501bb613cc5cadb7229 (diff) | |
download | linux-a00d17e0a71ae2e4fdaac46e1c12785d3346c3f2.tar.xz |
Revert "drm/sun4i: dsi: Change the start delay calculation"
This reverts commit da676c6aa6413d59ab0a80c97bbc273025e640b2.
The original commit adds a start parameter to the calculation of the
start delay according to some old BSP versions from Allwinner. However,
there're two ways to add this delay -- add it in DSI controller or add
it in the TCON. Add it in both controllers won't work.
The code before this commit is picked from new versions of BSP kernel,
which has a comment for the 1 that says "put start_delay to tcon". By
checking the sun4i_tcon0_mode_set_cpu() in sun4i_tcon driver, it has
already added this delay, so we shouldn't repeat to add the delay in DSI
controller, otherwise the timing won't match.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191001080253.6135-2-icenowy@aosc.io
Diffstat (limited to 'drivers/spi/spi-pxa2xx.c')
0 files changed, 0 insertions, 0 deletions