linux-uconsole/drivers/media
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
..
common [media] saa7146: use swap() in sort_and_eliminate() 2015-07-06 08:25:49 -03:00
dvb-core media: dvb_ringbuffer: Add memory barriers 2016-08-20 18:09:18 +02:00
dvb-frontends mb86a20s: fix demod settings 2016-10-28 03:01:30 -04:00
firewire [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
i2c adv7511: TX_EDID_PRESENT is still 1 after a disconnect 2016-04-12 09:08:50 -07:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci bttv: Width must be a multiple of 16 when capturing planar formats 2016-04-12 09:08:50 -07:00
platform am437x-vfpe: fix typo in vpfe_get_app_input_index 2016-09-30 10:18:35 +02:00
radio [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00
rc Fix RC5 decoding with Fintek CIR chipset 2016-08-20 18:09:18 +02:00
tuners si2157: return -EINVAL if firmware blob is too big 2016-03-03 15:07:14 -08:00
usb dib0700: fix nec repeat handling 2016-11-18 10:48:34 +01:00
v4l2-core vb2: core: Skip planes array verification if pb is NULL 2016-08-20 18:09:18 +02:00
Kconfig media updates for v4.2-rc1 2015-06-25 17:55:48 -07:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c
media-devnode.c
media-entity.c [media] media-entity.c: get rid of var length arrays 2015-10-01 18:10:05 -03:00