[U-Boot] [PATCH v2] video: mxsfb: Fix reset hang when videomode variable is not present

Anatolij Gustschin
2017-02-22T12:58:57Z

Hi Fabio,

On Wed, 22 Feb 2017 07:09:46 -0300
Fabio Estevam festevam at gmail.com wrote:
...
> @@ -135,6 +135,11 @@ void lcdif_power_down(void)
> {
> struct mxs_lcdif_regs *regs = (struct mxs_lcdif_regs *)MXS_LCDIF_BASE;
> int timeout = 1000000;
> + char *penv;
> +
> + penv = getenv("videomode");
> + if (!penv)
> + return;

will a simple check of frameAdrs fix this problem?

Like:
if (!panel.frameAdrs)
return;

Thanks,
Anatolij