linux_dsm_epyc7002/drivers/media/usb
Sean Young ba13e98f2c dib0700: fix nec repeat handling
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>
Cc: stable@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-11-11 08:45:08 -08:00
..
airspy [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
as102 media: usb: as102: as102_usb_drv: don't print error when allocating urb fails 2016-08-30 19:13:53 +02:00
au0828 [media] rc: split nec protocol into its three variants 2016-09-22 11:46:49 -03:00
b2c2 [media] flexcop-usb: don't use stack for DMA 2016-10-14 12:52:29 -03:00
cpia2 [media] cpia2_usb: don't use stack for DMA 2016-10-14 12:52:27 -03:00
cx231xx [media] cx231xx: attach si2165 driver via i2c_client 2016-09-22 12:55:08 -03:00
dvb-usb dib0700: fix nec repeat handling 2016-11-11 08:45:08 -08:00
dvb-usb-v2 Merge branch 'akpm' (patches from Andrew) 2016-10-11 17:34:10 -07:00
em28xx [media] constify i2c_algorithm structures 2016-09-19 16:27:02 -03:00
go7007 [media] constify i2c_algorithm structures 2016-09-19 16:27:02 -03:00
gspca media: usb: gspca: konica: don't print error when allocating urb fails 2016-08-30 19:13:54 +02:00
hackrf [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
hdpvr Merge branch 'akpm' (patches from Andrew) 2016-10-11 17:34:10 -07:00
msi2500 [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
pvrusb2 [media] rc: Hauppauge z8f0811 can decode RC6 2016-09-22 11:44:52 -03:00
pwc [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
s2255 [media] s2255drv: don't use stack for DMA 2016-10-14 12:52:28 -03:00
siano [media] media_device: move allocation out of media_device_*_init 2016-02-23 07:19:39 -03:00
stk1160 [media] constify i2c_algorithm structures 2016-09-19 16:27:02 -03:00
stkwebcam [media] stk-webcam: don't use stack for DMA 2016-10-14 12:52:29 -03:00
tm6000 [media] usb: constify snd_pcm_ops structures 2016-09-19 16:19:10 -03:00
ttusb-budget [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
ttusb-dec [media] ttusb_dec: avoid the risk of go past buffer 2016-09-22 14:14:22 -03:00
usbtv [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
usbvision media: usb: usbvision: usbvision-core: don't print error when allocating urb fails 2016-08-30 19:13:55 +02:00
uvc [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
zr364xx media: usb: zr364xx: zr364xx: don't print error when allocating urb fails 2016-08-30 19:13:55 +02: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