From f9895817321790bef33a56e3b10f3f71d989c23e Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 22 Dec 2019 13:18:47 -0500 Subject: add further ioctl time64 fallback conversion for device-specific command 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/misc/ioctl.c b/src/misc/ioctl.c index 3c1595e2..aa748fb8 100644 --- a/src/misc/ioctl.c +++ b/src/misc/ioctl.c @@ -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) }, -- cgit v1.2.1