projects
/
platform
/
upstream
/
v4l-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73243e4
)
parse_az6007.pl: Fix the payload var name at the parser logic
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 24 Jul 2011 11:09:57 +0000
(08:09 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 24 Jul 2011 11:09:57 +0000
(08:09 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
contrib/az6007/parse_az6007.pl
patch
|
blob
|
history
diff --git
a/contrib/az6007/parse_az6007.pl
b/contrib/az6007/parse_az6007.pl
index 5970605de0f3d6c9bd11b89c73f4fdacf63aade3..cc53ec2da22ad7b9cb09a616c3933330cf67d896 100755
(executable)
--- a/
contrib/az6007/parse_az6007.pl
+++ b/
contrib/az6007/parse_az6007.pl
@@
-2253,7
+2253,7
@@
sub i2c_decode($$$$$)
if ($n >= 6 && !$write) {
# This is how az6007 returns reads
$n -= 6;
- $
data = substr($data
, 3 * 5, $n * 3);
+ $
payload = substr($payload
, 3 * 5, $n * 3);
}
$addr = $wvalue & 0xff;