mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-18 19:05:39 +00:00
[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>
This commit is contained in:
parent
4e032f3f58
commit
ead5bc4e0b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user