linux-kernel-test/drivers/media
Manoel Pinheiro 147b68cd7e [media] dvb-usb.h function rc5_scan
The function "rc5_scan" in "dvb_usb.h" is returning invalid value.
The value should be returned "u16" but is returning "u8".

See example below in "drivers/media/dvb/dvb-usb/opera1.c":

        send_key = (send_key & 0xffff) | 0x0100;

        for (i = 0; i < ARRAY_SIZE(rc_map_opera1_table); i++) {
            if (rc5_scan(&rc_map_opera1_table[i]) == (send_key & 0xffff)) {
                *state = REMOTE_KEY_PRESSED;
                *event = rc_map_opera1_table[i].keycode;
                opst->last_key_pressed =
                    rc_map_opera1_table[i].keycode;
                break;
            }
            opst->last_key_pressed = 0;
        }

Signed-off-by: Manoel Pinheiro <pinusdtv@hotmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-07-27 17:52:23 -03:00
..
common [media] DVB: mxl5005s: handle new bandwidths by returning -EINVAL 2011-05-20 19:04:59 -03:00
dvb [media] dvb-usb.h function rc5_scan 2011-07-27 17:52:23 -03:00
radio [media] radio-sf16fmr2: convert to generic TEA575x interface 2011-07-27 17:52:23 -03:00
rc [media] nuvoton-cir: make idle timeout more sane 2011-07-11 20:52:37 -03:00
video [media] media: Convert vmalloc/memset to vzalloc 2011-07-27 17:52:21 -03:00
Kconfig [media] Make DVB NET configurable in the kernel 2011-07-27 17:52:20 -03:00
Makefile [media] media: Entities, pads and links 2011-03-22 04:53:10 -03:00
media-device.c [media] media: Links setup 2011-03-22 04:53:16 -03:00
media-devnode.c [media] media: Fix media device minor registration 2011-06-01 13:24:23 -03:00
media-entity.c [media] media: Properly handle link flags in link setup, link notify callback 2011-04-17 07:43:32 -03:00