Re: [PATCH v1 16/16] drm/panel: simple: use drm_panel infrastructure

2019-08-05 Thread Laurent Pinchart
Hi Sam, Thank you for the patch. On Sun, Aug 04, 2019 at 10:16:37PM +0200, Sam Ravnborg wrote: > Use drm_panel infrastrucute: > - drm_panel has guards for calling disable/enable twice As stated in the review of the corresponding patch, I think those checks should be dropped, but not moved to

[PATCH v1 16/16] drm/panel: simple: use drm_panel infrastructure

2019-08-04 Thread Sam Ravnborg
Use drm_panel infrastrucute: - drm_panel has guards for calling disable/enable twice - drm_panel has backlight support To use the drm_panel infrastructure use the drm_panel_* variants for prepare/enable/disable/unprepare. Signed-off-by: Sam Ravnborg Cc: Thierry Reding Cc: Sam Ravnborg ---