Commit ead5bc4e authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

[media] au0828: set reg->size

The size field wasn't filled in.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 4e032f3f
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment