drm/panel-notatek-nt35510: Fix MTP read init
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 8 Aug 2020 22:43:22 +0000 (00:43 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 11 Aug 2020 20:27:10 +0000 (22:27 +0200)
commitd2f6a8f454b67ccfa64d1f2e7e2a570bc72313e2
tree5322a06e648eb4932902bfa39e151d202e917a90
parent0f877894a330edd4f3bc9ec07a1686ee2d86668d
drm/panel-notatek-nt35510: Fix MTP read init

In order to successfully read ID of the MTP panel the
panel MTP control page must be unlocked. Previously
this wasn't encountered because in the setup with this
panel the power wasn't ever really dropped. When power
gets dropped from the panel, MTP needs to be unlocked.

Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: newbytee@protonmail.com
Cc: Stephan Gerhold <stephan@gerhold.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200808224322.1507713-1-linus.walleij@linaro.org
drivers/gpu/drm/panel/panel-novatek-nt35510.c