android_kernel_xiaomi_sm8350/drivers/media
Hans Verkuil 657f227105 [media] v4l: fix handling of v4l2_input.capabilities
The v4l core sets the v4l2_input.capabilities field based on the supplied
v4l2_ioctl_ops. However, several drivers do a memset or memcpy of the v4l2_input
struct, thus overwriting that field incorrectly.

Either remove the memset (which is already done by the v4l core), or add the
proper capabilities field in case of a memcpy.

The same is also true for v4l2_output, but that only affected the ivtv driver.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-12-30 08:02:29 -02:00
..
common [media] V4L: remove V4L1 compatibility mode 2010-12-29 08:17:07 -02:00
dvb [media] v4l: fix handling of v4l2_input.capabilities 2010-12-30 08:02:29 -02:00
radio [media] saa6588: rename rds.h to saa6588.h 2010-12-29 08:17:18 -02:00
rc [media] saa7134: Add support for Compro VideoMate Vista M1F 2010-12-29 08:17:17 -02:00
video [media] v4l: fix handling of v4l2_input.capabilities 2010-12-30 08:02:29 -02:00
Kconfig [media] dabusb: Move it to staging to be deprecated 2010-12-29 08:17:15 -02:00
Makefile [media] rename drivers/media/IR to drives/media/rc 2010-12-29 08:16:36 -02:00