parse_az6007.pl: optionally print timestamp for mt2063
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 24 Jul 2011 13:22:02 +0000 (10:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 24 Jul 2011 16:35:34 +0000 (13:35 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
contrib/az6007/parse_az6007.pl

index cc53ec2..a19d745 100755 (executable)
@@ -160,6 +160,7 @@ sub parse_mt2063_addr($$$$$)
                $reg = sprintf "0x%02x", $reg;
        }
 
+       printf "$timestamp " if ($show_timestamp);
        if ($write) {
                if ($n == 1) {
                        printf "mt2063_setreg(state, %s, 0x%s);\n",