Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ce41229 authored by Jemma Denson's avatar Jemma Denson Committed by Mauro Carvalho Chehab
Browse files

[media] cx24120: Fix hexdump length in writeregs



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

Signed-off-by: default avatarJemma Denson <jdenson@gmail.com>
Signed-off-by: default avatarPatrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 270e7071
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;