[U-Boot] [PATCH v2] video: mxsfb: Fix reset hang when videomode variable is not present
Anatolij Gustschin
agust at denx.de
Wed Feb 22 12:58:57 UTC 2017
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
More information about the U-Boot
mailing list