public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] video: mxsfb: Fix reset hang when videomode variable is not present
Date: Wed, 22 Feb 2017 13:58:57 +0100	[thread overview]
Message-ID: <20170222135857.686e3e76@crub> (raw)
In-Reply-To: <1487758186-14459-1-git-send-email-festevam@gmail.com>

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

  reply	other threads:[~2017-02-22 12:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-22 10:09 [U-Boot] [PATCH v2] video: mxsfb: Fix reset hang when videomode variable is not present Fabio Estevam
2017-02-22 12:58 ` Anatolij Gustschin [this message]
2017-02-22 13:37   ` Fabio Estevam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170222135857.686e3e76@crub \
    --to=agust@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox