summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/tvp7002.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-05-29 14:00:07 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-17 15:56:55 +0400
commit15c4fee344eb0b8a4d13a351220e337f2e929779 (patch)
treeefce8668096e5e41e84afc9d11068fd53a0218d1 /drivers/media/i2c/tvp7002.c
parent43aea90116c4fd80fd3d77b268b4a52ad8bf7bfb (diff)
downloadlinux-15c4fee344eb0b8a4d13a351220e337f2e929779.tar.xz
[media] media/i2c: fill in missing reg->size fields
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/i2c/tvp7002.c')
-rw-r--r--drivers/media/i2c/tvp7002.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/tvp7002.c b/drivers/media/i2c/tvp7002.c
index c2d0280ef3dc..36ad565e5a33 100644
--- a/drivers/media/i2c/tvp7002.c
+++ b/drivers/media/i2c/tvp7002.c
@@ -722,6 +722,7 @@ static int tvp7002_g_register(struct v4l2_subdev *sd,
ret = tvp7002_read(sd, reg->reg & 0xff, &val);
reg->val = val;
+ reg->size = 1;
return ret;
}