[media] cx18: fix VIDIOC_ENUMINPUT: wrong std value
authorHans Verkuil <[email protected]>
Thu, 2 Apr 2015 11:34:30 +0000 (08:34 -0300)
committerMauro Carvalho Chehab <[email protected]>
Wed, 8 Apr 2015 09:42:14 +0000 (06:42 -0300)
commit3a29a4f177e99af0d80b5c4396a7aa1e9418742c
tree9413a1b0e929e42db0d6eda5e20f387bdc3f4584
parenteaa80c44d69a790feab29ccb07ced5ac38e98e4d
[media] cx18: fix VIDIOC_ENUMINPUT: wrong std value

The std field of v4l2_input is always V4L2_STD_ALL. For tuner inputs
this should be cx->tuner_std.

This fixes a v4l2-compliance failure.

Signed-off-by: Hans Verkuil <[email protected]>
Cc: Andy Walls <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
drivers/media/pci/cx18/cx18-ioctl.c
drivers/media/pci/cx18/cx18-streams.c