diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-05-29 12:00:07 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-17 13:56:55 +0200 |
commit | 15c4fee344eb0b8a4d13a351220e337f2e929779 (patch) | |
tree | efce8668096e5e41e84afc9d11068fd53a0218d1 /drivers/media/i2c/ak881x.c | |
parent | [media] pvrusb2: drop g/s_register ioctls (diff) | |
download | linux-15c4fee344eb0b8a4d13a351220e337f2e929779.tar.xz linux-15c4fee344eb0b8a4d13a351220e337f2e929779.zip |
[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/ak881x.c')
-rw-r--r-- | drivers/media/i2c/ak881x.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/ak881x.c b/drivers/media/i2c/ak881x.c index fcd8a3f626fa..c14e66756b98 100644 --- a/drivers/media/i2c/ak881x.c +++ b/drivers/media/i2c/ak881x.c @@ -69,6 +69,7 @@ static int ak881x_g_register(struct v4l2_subdev *sd, if (reg->reg > 0x26) return -EINVAL; + reg->size = 1; reg->val = reg_read(client, reg->reg); if (reg->val > 0xffff) |