diff options
-rw-r--r-- | drivers/video/tegra/dc/dsi.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c index bbd2be3f7..020409b75 100644 --- a/drivers/video/tegra/dc/dsi.c +++ b/drivers/video/tegra/dc/dsi.c | |||
@@ -3974,7 +3974,7 @@ static void tegra_dsi_send_dc_frames(struct tegra_dc *dc, | |||
3974 | } | 3974 | } |
3975 | } | 3975 | } |
3976 | 3976 | ||
3977 | static void tegra_dsi_setup_initialized_panel(struct tegra_dc_dsi_data *dsi) | 3977 | static void __maybe_unused tegra_dsi_setup_initialized_panel(struct tegra_dc_dsi_data *dsi) |
3978 | { | 3978 | { |
3979 | int err = 0; | 3979 | int err = 0; |
3980 | 3980 | ||
@@ -4030,15 +4030,6 @@ static void tegra_dc_dsi_enable(struct tegra_dc *dc) | |||
4030 | tegra_dsi_padctrl_enable(dsi->pad_ctrl); | 4030 | tegra_dsi_padctrl_enable(dsi->pad_ctrl); |
4031 | #endif | 4031 | #endif |
4032 | 4032 | ||
4033 | /* | ||
4034 | * Do not program this panel as the bootloader as has already | ||
4035 | * initialized it. This avoids periods of blanking during boot. | ||
4036 | */ | ||
4037 | if (dc->initialized) { | ||
4038 | tegra_dsi_setup_initialized_panel(dsi); | ||
4039 | goto fail; | ||
4040 | } | ||
4041 | |||
4042 | /* Stop DC stream before configuring DSI registers | 4033 | /* Stop DC stream before configuring DSI registers |
4043 | * to avoid visible glitches on panel during transition | 4034 | * to avoid visible glitches on panel during transition |
4044 | * from bootloader to kernel driver | 4035 | * from bootloader to kernel driver |
@@ -4136,13 +4127,6 @@ static void tegra_dc_dsi_postpoweron(struct tegra_dc *dc) | |||
4136 | struct tegra_dc_dsi_data *dsi = tegra_dc_get_outdata(dc); | 4127 | struct tegra_dc_dsi_data *dsi = tegra_dc_get_outdata(dc); |
4137 | int err = 0; | 4128 | int err = 0; |
4138 | 4129 | ||
4139 | /* | ||
4140 | * Do not configure. Use bootloader configuration. | ||
4141 | * This avoids periods of blanking during boot. | ||
4142 | */ | ||
4143 | if (dc->initialized) | ||
4144 | return; | ||
4145 | |||
4146 | mutex_lock(&dsi->lock); | 4130 | mutex_lock(&dsi->lock); |
4147 | tegra_dc_io_start(dc); | 4131 | tegra_dc_io_start(dc); |
4148 | 4132 | ||