linux-uconsole/drivers/media/usb
Sean Young 2f7496c48a dib0700: fix nec repeat handling
commit ba13e98f2c upstream.

When receiving a nec repeat, ensure the correct scancode is repeated
rather than a random value from the stack.  This removes the need for
the bogus uninitialized_var() and also fixes the warnings:

    drivers/media/usb/dvb-usb/dib0700_core.c: In function ‘dib0700_rc_urb_completion’:
    drivers/media/usb/dvb-usb/dib0700_core.c:679: warning: ‘protocol’ may be used uninitialized in this function

[sean addon: So after writing the patch and submitting it, I've bought the
             hardware on ebay. Without this patch you get random scancodes
             on nec repeats, which the patch indeed fixes.]

Signed-off-by: Sean Young <sean@mess.org>
Tested-by: Sean Young <sean@mess.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-18 10:48:34 +01:00
..
airspy media: fix airspy usb probe error path 2016-08-10 11:49:29 +02:00
as102 [media] as102: fix error return code 2015-05-01 07:00:51 -03:00
au0828 au0828: Fix dev_state handling 2016-04-20 15:42:09 +09:00
b2c2 [media] drivers: media: usb: b2c2: use usb_*_coherent() instead of pci_*_consistent() in flexcop-usb.c 2013-10-17 11:26:41 -03:00
cpia2 [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
cx231xx cx231xx: fix GPIOs for Pixelview SBTVD hybrid 2016-10-28 03:01:30 -04:00
dvb-usb dib0700: fix nec repeat handling 2016-11-18 10:48:34 +01:00
dvb-usb-v2 media updates for v4.4-rc1 2015-11-05 12:05:15 -08:00
em28xx em28xx-i2c: rt_mutex_trylock() returns zero on failure 2016-10-07 15:23:44 +02:00
go7007 [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
gspca gspca: avoid unused variable warnings 2016-10-07 15:23:45 +02:00
hackrf [media] hackrf: move RF gain ctrl enable behind module parameter 2015-12-18 15:25:29 -02:00
hdpvr [media] hdpvr: embed video_device 2015-04-02 23:36:54 -03:00
msi2500 [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
pvrusb2 [media] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers 2015-05-01 09:01:16 -03:00
pwc pwc: Add USB id for Philips Spc880nc webcam 2016-04-12 09:08:42 -07:00
s2255 [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
siano [media] siano: avoid a linkedit error if !MC 2015-03-02 14:17:01 -03:00
stk1160 [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
stkwebcam [media] stk-webcam: Delete an unnecessary check before the function call "vfree" 2015-03-02 14:53:27 -03:00
tm6000 [media] cx25821, cx88, tm6000: use SNDRV_DEFAULT_ENABLE_PNP 2015-10-01 08:42:52 -03:00
ttusb-budget [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
ttusb-dec [media] dvb: get rid of enum dmx_success 2015-10-06 19:53:02 -03:00
usbtv media: usbtv: prevent access to free'd resources 2016-08-20 18:09:18 +02:00
usbvision usbvision: fix crash on detecting device with invalid configuration 2016-04-20 15:42:17 +09:00
uvc UVC: Add support for R200 depth camera 2016-09-15 08:27:45 +02:00
zr364xx [media] usb drivers: use BUG_ON() instead of if () BUG 2015-06-09 18:30:09 -03:00
Kconfig [media] tlg2300: move to staging in preparation for removal 2014-12-16 23:21:43 -02:00
Makefile [media] tlg2300: move to staging in preparation for removal 2014-12-16 23:21:43 -02:00