diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-05-29 10:00:03 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-17 11:55:00 (GMT) |
commit | ead5bc4e0bd94e4540bea60b782e2acdb345b803 (patch) | |
tree | 2227c9faa48c0e48174ee29ff11f3753566a5b34 /drivers | |
parent | 4e032f3f58800a998bae79150909410d7a37206f (diff) | |
download | linux-ead5bc4e0bd94e4540bea60b782e2acdb345b803.tar.xz |
[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')
-rw-r--r-- | drivers/media/usb/au0828/au0828-video.c | 1 |
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 4944a36..f615454 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; } |