OSDN Git Service

drm/panel: st7703: Move generic part of init sequence to enable callback
authorOndrej Jirman <megous@megous.com>
Wed, 1 Jul 2020 16:29:23 +0000 (18:29 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 1 Jul 2020 17:25:23 +0000 (19:25 +0200)
commite609fb1ea29d47f7d218dd7d53ae9da7c2d5c3d7
tree63d7baa52760ec0ba39a00b56ef4178453d68325
parenta14268a6420c4bf048f923f7c8663e6a817a9194
drm/panel: st7703: Move generic part of init sequence to enable callback

Calling sleep out and display on is a controller specific part
of the initialization process. Move it out of the panel specific
initialization function to the enable callback.

Signed-off-by: Ondrej Jirman <megous@megous.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200701162928.1638874-9-megous@megous.com
drivers/gpu/drm/panel/panel-sitronix-st7703.c