From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] video: ipuv3_fb: skip IPU shutdown if IPU was not enabled before
Date: Mon, 28 Aug 2017 20:08:26 +0200 [thread overview]
Message-ID: <20170828200826.1b2301a8@crub> (raw)
In-Reply-To: <CAOMZO5C-wFyd9abSiNZW7662Z6kR4W023a+exm+Jykj4=MM+VQ@mail.gmail.com>
Hi Fabio,
On Mon, 28 Aug 2017 13:22:19 -0300
Fabio Estevam festevam at gmail.com wrote:
...
> > + /*
> > + * Check if IPU clock was enabled before. Won't access
> > + * IPU registers if clock is not enabled.
> > + */
> > + reg = readl(&mxc_ccm->CCGR3);
> > + if ((reg & MXC_CCM_CCGR3_IPU1_IPU_MASK) == 0)
> > + return;
>
> Maybe you could also check whether IPU2 has been enabled?
currently IPU2 is not used, the driver never enables it. I checked
it when preparing this patch.
Thanks,
Anatolij
next prev parent reply other threads:[~2017-08-28 18:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-25 13:10 [U-Boot] [PATCH] video: ipuv3_fb: skip IPU shutdown if IPU was not enabled before Anatolij Gustschin
2017-08-28 16:22 ` Fabio Estevam
2017-08-28 18:08 ` Anatolij Gustschin [this message]
2017-08-28 16:54 ` Stefano Babic
2017-08-28 18:23 ` Anatolij Gustschin
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=20170828200826.1b2301a8@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.