This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: parse_cx231xx.pl: improve GPIO messages on decoding
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Mon Nov 8 13:48:10 2010 -0200

Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 contrib/cx231xx/parse_cx231xx.pl |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=6fef78fa00bd91c93d1fefeedfe509a9ef079da1

diff --git a/contrib/cx231xx/parse_cx231xx.pl b/contrib/cx231xx/parse_cx231xx.pl
old mode 100755
new mode 100644
index d85a641..c62a299
--- a/contrib/cx231xx/parse_cx231xx.pl
+++ b/contrib/cx231xx/parse_cx231xx.pl
@@ -88,7 +88,7 @@ sub parse_gpio($$$$$$)
        my $wlen = shift;
        my $payload = shift;
 
-       my $type = sprintf "Req %d: ", $req;
+       my $type;
        if ($req == 8) {
                $type .= "GET gpio";
        } elsif ($req == 9) {
@@ -101,7 +101,8 @@ sub parse_gpio($$$$$$)
 
        my $gpio_bit = $wvalue << 16 & $windex;
 
-       printf("$type 0x%04x len %d val = %s\n", $gpio_bit, $wlen, $payload);
+       printf("$type: Reqtype %3d Req %3d 0x%04x len %d val = %s\n",
+               $reqtype, $req, $gpio_bit, $wlen, $payload);
 }
 
 while (<>) {

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to