From: Hans Verkuil Date: Wed, 29 May 2013 10:00:03 +0000 (-0300) Subject: [media] au0828: set reg->size X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ead5bc4e0bd94e4540bea60b782e2acdb345b803;p=openwrt%2Fstaging%2Fblogic.git [media] au0828: set reg->size The size field wasn't filled in. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- 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; }