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: ipuv3_fb: skip IPU shutdown if IPU was not enabled before
Date: Tue, 5 Sep 2017 13:22:40 +0200	[thread overview]
Message-ID: <20170905132240.14f5330c@crub> (raw)
In-Reply-To: <1504562297-25420-1-git-send-email-agust@denx.de>

On Mon,  4 Sep 2017 23:58:17 +0200
Anatolij Gustschin agust at denx.de wrote:

> Boards can skip display interface init using board_video_skip().
> If display interface was not initialized (e.g. no ipuv3 framebuffer
> registered or IPU clock disabled), booting Linux stops due to the
> crash in IPU shutdown function, when accessing IPU registers.
> Check IPU clock and skip shutdown if clock is not enabled.
> 
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
> Changes in v2:
> - fixed build breakage when building mx5 targets
> 
>  drivers/video/ipu.h          | 1 +
>  drivers/video/ipu_common.c   | 5 +++++
>  drivers/video/mxc_ipuv3_fb.c | 3 +++
>  3 files changed, 9 insertions(+)

Applied to u-boot-video/master.

--
Anatolij

      reply	other threads:[~2017-09-05 11:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-04 21:58 [U-Boot] [PATCH v2] video: ipuv3_fb: skip IPU shutdown if IPU was not enabled before Anatolij Gustschin
2017-09-05 11:22 ` Anatolij Gustschin [this message]

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=20170905132240.14f5330c@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