mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: video: imx-ipu-v3: ldb fixes
Date: Tue, 22 Sep 2015 09:19:16 +0200	[thread overview]
Message-ID: <1442906359-17286-1-git-send-email-s.hauer@pengutronix.de> (raw)

As Holger noted the ldb no longer supports modes directly in the ldb
device node, instead barebox crashes when the IPU driver tries to
enable a non existent mode. This series replaces the crash with an
error message and brings back the mode support to the ldb driver.

Holger, please test. I did not have a board which uses the ldb handy,
so I had to fake it. I verified that the mode is read from the device
tree, but could not see if it's really used.

Sascha

----------------------------------------------------------------
Sascha Hauer (3):
      video: ipuv3: Do not crash when no mode is found
      video: ipuv3: imx-ldb: remove unused variable
      video: ipuv3: imx-ldb: Support video modes in ldb node

 drivers/video/imx-ipu-v3/imx-ldb.c | 31 ++++++++++++++++++++-----------
 drivers/video/imx-ipu-v3/ipufb.c   |  5 +++++
 2 files changed, 25 insertions(+), 11 deletions(-)

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2015-09-22  7:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-22  7:19 Sascha Hauer [this message]
2015-09-22  7:19 ` [PATCH 1/3] video: ipuv3: Do not crash when no mode is found Sascha Hauer
2015-09-22  7:19 ` [PATCH 2/3] video: ipuv3: imx-ldb: remove unused variable Sascha Hauer
2015-09-22  7:19 ` [PATCH 3/3] video: ipuv3: imx-ldb: Support video modes in ldb node Sascha Hauer

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=1442906359-17286-1-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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