]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
media: vivid: fix incorrect capabilities for radio
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 1 Feb 2018 07:36:33 +0000 (02:36 -0500)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 14 Aug 2018 10:29:43 +0000 (12:29 +0200)
commitfc1110b727f101a41b3fdb8a3a1c8053469dd211
treee0d52185c683f16572c72674f0ce19cf247e1c3d
parentfa2aac02c5782acdbfb4313680dc431fd0523e3b
media: vivid: fix incorrect capabilities for radio

BugLink: http://bugs.launchpad.net/bugs/1783418
[ Upstream commit 65243386f41d38460bfd4375d231a7c0346d0401 ]

The vivid driver has two custom controls that change the behavior of RDS.
Depending on the control setting the V4L2_CAP_READWRITE capability is toggled.
However, after an earlier commit the capability was no longer set correctly.
This is now fixed.

Fixes: 9765a32cd8 ("vivid: set device_caps in video_device")
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/media/platform/vivid/vivid-ctrls.c