drm/sun4i: sun6i_mipi_dsi: fix DCS long write packet length
authorIcenowy Zheng <icenowy@aosc.io>
Sun, 6 Oct 2019 16:03:02 +0000 (00:03 +0800)
committerMaxime Ripard <mripard@kernel.org>
Mon, 7 Oct 2019 12:01:25 +0000 (14:01 +0200)
commit4340ec45e895c4bd25e9bcdb3b88cd192fd9512c
tree93aa02622c24f47bcea4756c7df38c6d3212b91d
parent81fafb9488a1d1347b39ad456d85e29649383749
drm/sun4i: sun6i_mipi_dsi: fix DCS long write packet length

The packet length of DCS long write packet should not be added with 1
when constructing long write packet.

Fix this.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191006160303.24413-4-icenowy@aosc.io
drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c