提交 6ce41229 编写于 作者: J Jemma Denson 提交者: Mauro Carvalho Chehab

[media] cx24120: Fix hexdump length in writeregs

msg.len has been ++'d so msg.len is one too many.
Signed-off-by: NJemma Denson <jdenson@gmail.com>
Signed-off-by: NPatrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 270e7071
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册