[media] cx24120: Fix hexdump length in writeregs

msg.len has been ++'d so msg.len is one too many.

Signed-off-by: Jemma Denson <jdenson@gmail.com>
Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
Jemma Denson 2015-05-01 16:20:16 -03:00 committed by Mauro Carvalho Chehab
parent 270e70713b
commit 6ce412292a
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ static int cx24120_writeregs(struct cx24120_state *state,
dev_dbg(&state->i2c->dev,
"%s: reg=0x%02x; data=%*ph\n",
__func__, reg, msg.len, msg.buf + 1);
__func__, reg, msg.len - 1, msg.buf + 1);
}
ret = 0;