diff options
author | Jemma Denson <jdenson@gmail.com> | 2015-05-01 21:20:16 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-05-18 21:35:44 +0200 |
commit | 6ce412292a2ae15eea55c70f43449a9857404c00 (patch) | |
tree | fce27b541e942b52c804ee99e2e25eadac23687c /drivers/media | |
parent | [media] cx24120: Add missing command to cx24120_check_cmd (diff) | |
download | linux-6ce412292a2ae15eea55c70f43449a9857404c00.tar.xz linux-6ce412292a2ae15eea55c70f43449a9857404c00.zip |
[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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb-frontends/cx24120.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/cx24120.c b/drivers/media/dvb-frontends/cx24120.c index 095af2e6f59f..74ce7a75a961 100644 --- a/drivers/media/dvb-frontends/cx24120.c +++ b/drivers/media/dvb-frontends/cx24120.c @@ -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; |