Files
facetimehd/fthd_v4l2.c
Andreas Kemnade f0c2f05272 facetimehd: set device_caps in video_device
In kernel 5.4 I otherwise get this warning

WARNING: CPU: 1 PID: 451 at drivers/media/v4l2-core/v4l2-dev.c:863 __video_register_device+0x64b/0xe90 [videodev]
The code there is:

        /* the device_caps field MUST be set for all but subdevs */
        if (WARN_ON(type != VFL_TYPE_SUBDEV && !vdev->device_caps))

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
2019-12-05 15:06:07 +01:00

20 KiB