linux_dsm_epyc7002/drivers/media/usb
Rafael J. Wysocki 9c016d6109 Partly revert "[media] uvcvideo: Set error_idx properly for extended controls API failures"
Commit f0ed2ce840 ("[media] uvcvideo: Set error_idx properly for
extended controls API failures") causes user space to behave incorrectly
on one of my test machines (there is no sound under KDE 4.9.4 using
pulseaudio and there is a knotify4 process occupying one of the CPU
cores 100% of the time).  Reverting that commit entirely fixes the
problem for me.

However, commit f0ed2ce840 appears to do more than it follows from its
changelog, because the changelog only says about the changes related to
ctrls->error_idx, while the commit additionally changes error codes
returned by various functions in uvc_ctrl.c and uvc_v4l2.c.  It turns
out that the changes of the returned error codes confuse the user spce,
so it is sufficient to revert the part of commit f0ed2ce840 not
mentioned in its changelog to fix the problem.

[ 'ENOENT' is not a valid error return from an ioctl to begin with, and
  I don't understand how anybody ever even thought it would be.  - Linus ]

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-12-23 09:39:14 -08:00
..
au0828 [media] au0828-dvb: ret is never tested. Get rid of it 2012-10-28 07:39:02 -02:00
b2c2 [media] Kconfig: Fix b2c2 common code selection 2012-08-21 08:38:31 -03:00
cpia2 [media] v4l2: make vidioc_s_jpegcomp const 2012-09-26 10:43:04 -03:00
cx231xx [media] cx231xx-avcore: get rid of a sophisticated do-nothing code 2012-10-27 18:12:13 -02:00
dvb-usb [media] vp702x: get rid of warning: no previous prototype 2012-10-27 18:14:14 -02:00
dvb-usb-v2 [media] rtl28xxu: add NOXON DAB/DAB+ USB dongle rev 2 2012-11-28 09:51:22 -02:00
em28xx [media] em28xx-cards: fix a warning 2012-10-28 07:38:56 -02:00
gspca [media] gspca-sonixb: Add USB-id for Genius Eye 310 2012-11-21 13:07:50 -02:00
hdpvr [media] drivers/media/usb/hdpvr/hdpvr-core.c: fix error return code 2012-11-22 14:22:31 -02:00
pvrusb2 [media] pvr2: fix minor storage 2012-11-21 18:10:33 -02:00
pwc [media] pwc: Fix codec1 cameras no longer working 2012-11-21 13:05:57 -02:00
s2255 [media] s2255drv: index is always positive 2012-10-28 07:38:57 -02:00
siano [media] siano: fix RC compilation 2012-11-07 11:09:08 +01:00
sn9c102 [media] v4l2: sn9c102 incorrectly blocks FMT_SN9C10X 2012-11-21 18:10:34 -02:00
stk1160 [media] stk1160: Try to continue with fewer transfer buffers 2012-11-21 12:04:22 -02:00
stkwebcam [media] stkwebcam: Fix sparse warning on undeclared symbol 2012-11-21 15:23:14 -02:00
tlg2300 [media] tlg2300: index is unsigned, so never below zero 2012-10-28 07:38:51 -02:00
tm6000 [media] drivers/media/usb/tm6000/tm6000-video.c: fix error return code 2012-11-22 14:20:40 -02:00
ttusb-budget [media] Kconfig: merge all customise options into just one 2012-08-21 08:05:06 -03:00
ttusb-dec
usbvision [media] usbvision-core: fix a warning 2012-10-28 07:38:58 -02:00
uvc Partly revert "[media] uvcvideo: Set error_idx properly for extended controls API failures" 2012-12-23 09:39:14 -08:00
zr364xx [media] zr364xx: urb actual_length is unsigned 2012-10-28 07:38:59 -02:00
Kconfig [media] Add missing help for some menuconfig items 2012-08-21 08:17:37 -03:00
Makefile [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00