add further ioctl time64 fallback conversion for device-specific command
authorRich Felker <dalias@aerifal.cx>
Sun, 22 Dec 2019 18:18:47 +0000 (13:18 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 22 Dec 2019 18:18:47 +0000 (13:18 -0500)
VIDIOC_OMAP3ISP_STAT_REQ is a device-specific command for the omap3isp
video device. the command number is in a device-private range and
therefore could theoretically be used by other devices too in the
future, but problematic clashes should not be able to arise without
intentional misuse.

src/misc/ioctl.c

index 3c1595e..aa748fb 100644 (file)
@@ -57,6 +57,9 @@ static const struct ioctl_compat_map compat_map[] = {
        /* VIDIOC_DQEVENT */
        { _IOR('V', 89, new_misaligned(96)), _IOR('V', 89, char[96]), 96, R, 0, OFFS(76,80) },
 
+       /* VIDIOC_OMAP3ISP_STAT_REQ */
+       { _IOWR('V', 192+6, char[32]), _IOWR('V', 192+6, char[24]), 22, WR, 0, OFFS(0,4) },
+
        /* PPPIOCGIDLE */
        { _IOR('t', 63, char[16]), _IOR('t', 63, char[8]), 8, R, 0, OFFS(0,4) },