linux_dsm_epyc7002/drivers/media
Ricardo Ribalda 9cac9d2fb2 media: v4l2-ctrl: Fix flags field on Control events
VIDIOC_DQEVENT and VIDIOC_QUERY_EXT_CTRL should give the same output for
the control flags field.

This patch creates a new function user_flags(), that calculates the user
exported flags value (which is different than the kernel internal flags
structure). This function is then used by all the code that exports the
internal flags to userspace.

Reported-by: Dimitrios Katsaros <patcherwork@gmail.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org>      # for v3.17 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-10-31 07:21:00 -04:00
..
cec media: cec-pin.h: move non-kAPI parts into cec-pin-priv.h 2017-10-27 14:02:19 +02:00
common media: saa7146: Convert timers to use timer_setup() 2017-10-31 06:40:08 -04:00
dvb-core media: dvb-core: Convert timers to use timer_setup() 2017-10-31 06:40:30 -04:00
dvb-frontends media: dvb_frontend: get rid of get_property() callback 2017-10-11 12:51:36 -04:00
firewire [media] firewire: don't break long lines 2016-10-21 10:06:00 -02:00
i2c media: tvaudio: Convert timers to use timer_setup() 2017-10-31 06:40:50 -04:00
mmc
pci media: saa7134: Convert timers to use timer_setup() 2017-10-31 07:13:05 -04:00
platform media: davinci: make ccdc_hw_device structures const 2017-10-31 07:19:13 -04:00
radio media: radio-si470x: make si470x_viddev_template const 2017-10-31 06:38:22 -04:00
rc media: rc: mceusb: add support for 15f4:0135 2017-10-31 06:35:32 -04:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners media: dvb: i2c transfers over usb cannot be done from stack 2017-09-23 07:21:33 -04:00
usb media: cx231xx: make cx231xx_vbi_qops const 2017-10-31 06:37:49 -04:00
v4l2-core media: v4l2-ctrl: Fix flags field on Control events 2017-10-31 07:21:00 -04:00
Kconfig media: rc-core: do not depend on MEDIA_SUPPORT 2017-08-20 09:39:36 -04:00
Makefile [media] cec: select CEC_CORE instead of depend on it 2017-06-04 15:23:33 -03:00
media-device.c media: drop use of MEDIA_API_VERSION 2017-08-08 06:03:15 -04:00
media-devnode.c media: utilize new cdev_device_add helper function 2017-03-21 06:44:33 +01:00
media-entity.c [media] media: Check for active and has_no_links overrun 2017-10-04 17:16:14 -03:00