linux-kernel-test/drivers/media/common
Mauro Carvalho Chehab 7fee03e487 V4L/DVB (13540): ir-common: Cleanup get key evdev code
The same loop to seek for a key were used on different places. Also,
no spinlock were protecting it to avoid the risk of replacing a keycode
while seeking for a new code.

This cleanup does:
	- create an unique function to seek for a code;
	- adds an spinlock to protect the table lookup;
	- remove some unused code;
	- simplifies to code to make it easier to understand.

Basically no change in behavior should be noticed after this patch.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-12-05 18:42:22 -02:00
..
tuners V4L/DVB: Fix test in copy_reg_bits() 2009-12-05 18:41:45 -02:00
ir-functions.c V4L/DVB (13538): ir-common: Use a dynamic keycode table 2009-12-05 18:42:21 -02:00
ir-keymaps.c V4L/DVB (13535): ir-common: Add a hauppauge new table with the complete RC5 code 2009-12-05 18:42:20 -02:00
ir-keytable.c V4L/DVB (13540): ir-common: Cleanup get key evdev code 2009-12-05 18:42:22 -02:00
Kconfig V4L/DVB (7133): Fix Kconfig dependencies 2008-02-18 11:14:53 -03:00
Makefile V4L/DVB (13532): ir-common: Add infrastructure to use a dynamic keycode table 2009-12-05 18:42:19 -02:00
saa7146_core.c V4L/DVB (10502): saa7146: move v4l2 device registration to saa7146_vv. 2009-03-30 12:42:42 -03:00
saa7146_fops.c V4L/DVB (10502): saa7146: move v4l2 device registration to saa7146_vv. 2009-03-30 12:42:42 -03:00
saa7146_hlp.c V4L/DVB (8128): saa7146: ->cpu_addr and friends are little-endian 2008-07-20 07:13:14 -03:00
saa7146_i2c.c V4L/DVB (10843): saa7146: Clean-up i2c error handling 2009-03-30 12:43:08 -03:00
saa7146_vbi.c V4L/DVB (7237): Convert videobuf-dma-sg to generic DMA API 2008-04-24 14:07:44 -03:00
saa7146_video.c V4L/DVB (13239): saa7146: fix memory leakage in pagetable-handling 2009-12-05 18:41:04 -02:00