aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-05-29 07:00:03 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-17 08:55:00 -0300
commitead5bc4e0bd94e4540bea60b782e2acdb345b803 (patch)
tree2227c9faa48c0e48174ee29ff11f3753566a5b34 /drivers/media/usb
parent4e032f3f58800a998bae79150909410d7a37206f (diff)
[media] au0828: set reg->size
The size field wasn't filled in. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb')
-rw-r--r--drivers/media/usb/au0828/au0828-video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/au0828/au0828-video.c b/drivers/media/usb/au0828/au0828-video.c
index 4944a365570a..f6154546b5c0 100644
--- a/drivers/media/usb/au0828/au0828-video.c
+++ b/drivers/media/usb/au0828/au0828-video.c
@@ -1759,6 +1759,7 @@ static int vidioc_g_register(struct file *file, void *priv,
struct au0828_dev *dev = fh->dev;
reg->val = au0828_read(dev, reg->reg);
+ reg->size = 1;
return 0;
}

Privacy Policy