linux/drivers/media/IR
Mauro Carvalho Chehab 09bd00e7e1 ir-core: Fix the delete logic
Instead of removing an entry, the logic were doing both a deletion and
a key addition, as shown by the log:

[11517.323314] ir_getkeycode: unknown key for scancode 0x0050
[11517.326529] ir_do_setkeycode: #80: Deleting scan 0x0050
[11517.326529] ir_do_setkeycode: #80: New scan 0x0050 with key 0x0000
[11517.340598] ir_getkeycode: unknown key for scancode 0x0051
[11517.343811] ir_do_setkeycode: #81: Deleting scan 0x0051
[11517.343811] ir_do_setkeycode: #81: New scan 0x0051 with key 0x0000
[11517.357889] ir_getkeycode: unknown key for scancode 0x0052
[11517.361104] ir_do_setkeycode: #82: Deleting scan 0x0052
[11517.361104] ir_do_setkeycode: #82: New scan 0x0052 with key 0x0000
[11517.375453] ir_getkeycode: unknown key for scancode 0x0053
[11517.378474] ir_do_setkeycode: #83: Deleting scan 0x0053
[11517.378474] ir_do_setkeycode: #83: New scan 0x0053 with key 0x0000

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-05-19 12:57:38 -03:00
..
keymaps V4L/DVB: ir-core: Add support for badly-implemented hardware decoders 2010-05-19 12:56:58 -03:00
ir-core-priv.h V4L/DVB: ir-core-priv: fix a typo for RC6 config option 2010-05-19 12:57:36 -03:00
ir-functions.c V4L/DVB: ir-core: move subsystem internal calls to ir-core-priv.h 2010-05-19 12:57:04 -03:00
ir-keytable.c ir-core: Fix the delete logic 2010-05-19 12:57:38 -03:00
ir-nec-decoder.c V4L/DVB: Add NECx support to ir-core 2010-05-19 12:57:16 -03:00
ir-raw-event.c V4L/DVB: Add RC6 support to ir-core 2010-05-19 12:57:17 -03:00
ir-rc5-decoder.c V4L/DVB: Add RC5x support to ir-core 2010-05-19 12:57:15 -03:00
ir-rc6-decoder.c V4L/DVB: Add RC6 support to ir-core 2010-05-19 12:57:17 -03:00
ir-sysfs.c ir-core: Remove the quotation mark from the uevent names 2010-05-19 12:57:38 -03:00
Kconfig V4L/DVB: ir Kconfig: better describe the options 2010-05-19 12:57:37 -03:00
Makefile V4L/DVB: Add RC6 support to ir-core 2010-05-19 12:57:17 -03:00
rc-map.c V4L/DVB: ir-core: Remove warining noise if decoders compiled builtin 2010-05-19 12:57:14 -03:00