mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
drm/panel: novatek-nt36523: Set prepare_prev_first
The .prepare callback contains the init sequence, so the DSI host *must* be enabled at that point. Set the prepare_prev_first flag to ensure that. Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Jessica Zhang <quic_jesszhan@quicinc.com> Link: https://lore.kernel.org/r/20240201-topic-3623_fix-v1-1-86ee6f20876e@linaro.org Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240201-topic-3623_fix-v1-1-86ee6f20876e@linaro.org
This commit is contained in:
parent
2bb98fc1d4
commit
d543d1b608
1 changed files with 2 additions and 0 deletions
|
@ -1268,6 +1268,8 @@ static int nt36523_probe(struct mipi_dsi_device *dsi)
|
|||
return ret;
|
||||
}
|
||||
|
||||
pinfo->panel.prepare_prev_first = true;
|
||||
|
||||
if (pinfo->desc->has_dcs_backlight) {
|
||||
pinfo->panel.backlight = nt36523_create_backlight(dsi);
|
||||
if (IS_ERR(pinfo->panel.backlight))
|
||||
|
|
Loading…
Reference in a new issue