]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panel: novatek,nt39016: Reorder calls in probe
authorPaul Cercueil <paul@crapouillou.net>
Thu, 20 Aug 2020 12:12:55 +0000 (14:12 +0200)
committerPaul Cercueil <paul@crapouillou.net>
Thu, 20 Aug 2020 16:34:28 +0000 (18:34 +0200)
commit7e7fbf804cfa3cf5656017952cf0a2d1a6ef450b
tree254dec9d5e3cc4ad5baaf23e7b495348b407989f
parente4edbd32d70946e71e16ff27f6e0ab9a0fe928f9
drm/panel: novatek,nt39016: Reorder calls in probe

The drm_panel_of_backlight() function must be called after
drm_panel_init(), according to the function's documentation; otherwise
the backlight won't be properly initialized.

Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200820121256.32037-2-paul@crapouillou.net
drivers/gpu/drm/panel/panel-novatek-nt39016.c