Linux Renesas SOC kernel development
 help / color / mirror / Atom feed
From: Kieran Bingham <kbingham@kernel.org>
To: niklas.soderlund@ragnatech.se
Cc: linux-renesas-soc@vger.kernel.org,
	kieran.bingham@ideasonboard.com,
	Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Subject: [PATCH 2/3] tools: 8camera-status: Expand to 9 cameras
Date: Wed, 15 Nov 2017 14:38:30 +0000	[thread overview]
Message-ID: <1510756711-6488-3-git-send-email-kbingham@kernel.org> (raw)
In-Reply-To: <1510756711-6488-1-git-send-email-kbingham@kernel.org>

From: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>

The 8th camera has an address conflict on the Salvator-X.
As such it has been moved to the right by one address,
Include this '9th' camera in the reporting status

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
---
 tools/8camera-status | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools/8camera-status b/tools/8camera-status
index cdfe76ef286f..846673578f09 100755
--- a/tools/8camera-status
+++ b/tools/8camera-status
@@ -1,7 +1,7 @@
 #!/usr/bin/awk -f
 
 BEGIN {
-	for (x = 0; x <= 8; x++)
+	for (x = 0; x <= 9; x++)
 		cameras[x] = "-"
 }
 
@@ -67,15 +67,15 @@ function ParseProbe ( line )
 
 function PrintCameras()
 {
-	print "===================================="
-	print "| 1 | 2 | 3 | 4 |  | 5 | 6 | 7 | 8 |"
-	for (x=1; x <= 8; x++) {
+	print "========================================"
+	print "| 1 | 2 | 3 | 4 |  | 5 | 6 | 7 | 8 | 9 |"
+	for (x=1; x <= 9; x++) {
 		printf "| " cameras[x] " "
 		if (x == 4)
 			printf("|  ")
 	}
 	printf "|\n"
-	print "===================================="
+	print "======================================="
 }
 
 function Summarise() {
-- 
2.7.4

  parent reply	other threads:[~2017-11-15 14:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-15 14:38 [PATCH 0/3] [VIN-Tests] minor updates Kieran Bingham
2017-11-15 14:38 ` [PATCH 1/3] tools: 8camera-status: Fix write failure mis-allocations Kieran Bingham
2017-11-15 16:31   ` Niklas Söderlund
2017-11-15 14:38 ` Kieran Bingham [this message]
2017-11-15 16:31   ` [PATCH 2/3] tools: 8camera-status: Expand to 9 cameras Niklas Söderlund
2017-11-15 14:38 ` [PATCH 3/3] vin-tests: Refactor mc_get_dev Kieran Bingham
2017-11-15 16:51   ` Niklas Söderlund
2017-11-16 10:54     ` Kieran Bingham

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=1510756711-6488-3-git-send-email-kbingham@kernel.org \
    --to=kbingham@kernel.org \
    --cc=kieran.bingham+renesas@ideasonboard.com \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=niklas.soderlund@ragnatech.se \
    /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