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_au0828.pl: fix I2C read payload Author: Mauro Carvalho Chehab <m.che...@samsung.com> Date: Fri Jul 25 22:47:47 2014 -0300 Signed-off-by: Mauro Carvalho Chehab <m.che...@samsung.com> contrib/au0828/parse_au0828.pl | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) --- http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=db13b6f812ba94c562f1ed61f1457844868c47a8 diff --git a/contrib/au0828/parse_au0828.pl b/contrib/au0828/parse_au0828.pl index 37a127b..2129e71 100755 --- a/contrib/au0828/parse_au0828.pl +++ b/contrib/au0828/parse_au0828.pl @@ -136,10 +136,11 @@ while (<>) { if (($reqtype == 0xc0) && ($reg == 0x0209)) { # I2C read data - push @i2c_rbuf, $val; + my @bytes = split(/ /, $payload); + push @i2c_rbuf, hex($_) foreach(@bytes); if (!$i2c_hold) { - printf "$timestamp au0828 I2C read addr = 0x%02x (speed = %s) ", $i2c_addr, $i2c_speed; + printf "$timestamp au0828 I2C read addr = 0x%02x (speed = %s, len=%d) ", $i2c_addr, $i2c_speed, scalar(@i2c_rbuf); printf "0x%02x ", $_ foreach (@i2c_rbuf); print "\n"; _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits