]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mcde: Fix DSI transfers
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Sep 2019 17:08:04 +0000 (19:08 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 4 Sep 2019 20:05:34 +0000 (22:05 +0200)
commit104ca1010f220f79c152df59d9f70c399560b773
treefa9e476c6a36402b7c7f75973c4563dfbfa6a3b2
parent7c33cd618aa5f26cfa2c8ff54f8d0eef1979ad3f
drm/mcde: Fix DSI transfers

There were bugs in the DSI transfer (read and write) function
as it was only tested with displays ever needing a single byte
to be written. Fixed it up and tested so we can now write
messages of up to 16 bytes and read up to 4 bytes from the
display.

Tested with a Sony ACX424AKP display: this display now self-
identifies and can control backlight in command mode.

Reported-by: kbuild test robot <lkp@intel.com>
Fixes: 608015f6dfe6 ("drm/mcde: Add new driver for ST-Ericsson MCDE")
Reviewed-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190903170804.17053-1-linus.walleij@linaro.org
drivers/gpu/drm/mcde/mcde_dsi.c