From a61daa544be79c0a2498871977671e15a0756ead Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 9 Jul 2011 15:14:30 -0300 Subject: [PATCH] parse_em28xx_drxk.pl: Better document a read error Signed-off-by: Mauro Carvalho Chehab --- contrib/em28xx/parse_em28xx_drxk.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/em28xx/parse_em28xx_drxk.pl b/contrib/em28xx/parse_em28xx_drxk.pl index e0ec3fc..d9f195e 100755 --- a/contrib/em28xx/parse_em28xx_drxk.pl +++ b/contrib/em28xx/parse_em28xx_drxk.pl @@ -2165,7 +2165,7 @@ parse_error: # Fallback: Couldn't parse it if ($write) { if ($old_flags > 0) { - printf "%s%d_flags(state, 0x%s, %s, 0x%08x, NOTHING!!!);\n", $cmd, $bits, $addr, $old_reg, $old_flags; + printf "ERR: DRX-K write(state, 0x%s, %s, 0x%08x) without data. Probably an read ops + read error\n", $bits, $addr, $old_reg, $old_flags; } printf "i2c_master_send(0x%s>>1, { %s }, %d);\n", $addr, $app_data, $n; } else { -- 2.7.4