media: usbvision: deprecate driver
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 20 Feb 2020 08:14:13 +0000 (09:14 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 2 Mar 2020 14:04:54 +0000 (15:04 +0100)
commit8fb12ce2ec9d569e1b3051f01cee13ff27e29466
tree181590953acc3831561726216a55477b94173915
parent5e815fe05d0b3e4e4fcde2e09d5f362b3d65010f
media: usbvision: deprecate driver

The driver is deprecated and scheduled for removal by the end
of 2020. The reason is that this driver is for old and obsolete
hardware, and it produces a continuous stream of syzbot errors due
to poor code.

In order to prevent removal the following actions would have to
be taken:

- clean up the code
- convert to the vb2 framework
- fix the disconnect and free-on-last-user handling (i.e., add
  a release callback for struct v4l2_device and rework the code
  to use that correctly).

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
22 files changed:
MAINTAINERS
drivers/media/usb/Kconfig
drivers/media/usb/Makefile
drivers/media/usb/usbvision/Kconfig [deleted file]
drivers/media/usb/usbvision/Makefile [deleted file]
drivers/media/usb/usbvision/usbvision-cards.c [deleted file]
drivers/media/usb/usbvision/usbvision-cards.h [deleted file]
drivers/media/usb/usbvision/usbvision-core.c [deleted file]
drivers/media/usb/usbvision/usbvision-i2c.c [deleted file]
drivers/media/usb/usbvision/usbvision-video.c [deleted file]
drivers/media/usb/usbvision/usbvision.h [deleted file]
drivers/staging/media/Kconfig
drivers/staging/media/Makefile
drivers/staging/media/usbvision/Kconfig [new file with mode: 0644]
drivers/staging/media/usbvision/Makefile [new file with mode: 0644]
drivers/staging/media/usbvision/TODO [new file with mode: 0644]
drivers/staging/media/usbvision/usbvision-cards.c [new file with mode: 0644]
drivers/staging/media/usbvision/usbvision-cards.h [new file with mode: 0644]
drivers/staging/media/usbvision/usbvision-core.c [new file with mode: 0644]
drivers/staging/media/usbvision/usbvision-i2c.c [new file with mode: 0644]
drivers/staging/media/usbvision/usbvision-video.c [new file with mode: 0644]
drivers/staging/media/usbvision/usbvision.h [new file with mode: 0644]