OSDN Git Service

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)
commit2f4b769e4d18c1a38dc892668971fc2f0c4e6f5b
tree254dec9d5e3cc4ad5baaf23e7b495348b407989f
parent0b06286579b81449b1e8f14f88d3a8db091fd443
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