linux/drivers/media/rc
Srinivas Kandagatla 004ac38859 [media] [3.3.0] ir-raw: remove BUG_ON in ir_raw_event_thread
This patch removes BUG_ON in ir_raw_event_thread which IMO is a
over-kill, and this kills the ir_raw_event_thread too. With a bit of
additional logic in this patch, we nomore need to kill this thread.
Other disadvantage of having a BUG-ON is,
wake_up_process(dev->raw->thread) called on dead thread via
ir_raw_event_handle will result in total lockup in SMP system.

Advantage of this patch is ir-raw event thread is left in a usable state
even if the fifo does not have enough bytes.

This patch sets the thread into TASK_INTERRUPTIBLE if raw-fifo has less
then sizeof(struct ir_raw_event) bytes.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-04-10 15:41:21 -03:00
..
keymaps [media] Add support for KWorld PC150-U ATSC hybrid tuner card 2012-03-08 11:01:25 -03:00
ati_remote.c Merge branch 'driver-core-next' into Linux 3.2 2012-01-06 11:42:52 -08:00
ene_ir.c treewide: Fix comment and string typo 'bufer' 2011-12-06 09:53:40 +01:00
ene_ir.h treewide: Fix comment and string typo 'bufer' 2011-12-06 09:53:40 +01:00
fintek-cir.c [media] fintek-cir: add support for newer chip version 2012-02-14 16:53:53 -02:00
fintek-cir.h [media] fintek-cir: add support for newer chip version 2012-02-14 16:53:53 -02:00
gpio-ir-recv.c [media] gpio-ir-recv: a couple signedness bugs 2012-03-19 15:45:01 -03:00
imon.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-02-24 12:32:51 -08:00
ir-jvc-decoder.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
ir-lirc-codec.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
ir-mce_kbd-decoder.c [media] ir-mce_kbd-decoder: include module.h for its facilities 2011-07-29 12:54:38 -03:00
ir-nec-decoder.c Merge tag 'v3.2-rc2' into staging/for_v3.3 2011-11-23 19:42:09 -02:00
ir-raw.c [media] [3.3.0] ir-raw: remove BUG_ON in ir_raw_event_thread 2012-04-10 15:41:21 -03:00
ir-rc5-decoder.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
ir-rc5-sz-decoder.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
ir-rc6-decoder.c [media] ir-rc6-decoder: Support RC6-6A variable length data 2011-11-23 22:23:15 -02:00
ir-sanyo-decoder.c [media] ir-sanyo-decoder.c doesn't compile 2011-11-24 12:13:09 -02:00
ir-sony-decoder.c [media] media: ir-sony-decoder: 15bit function decode fix 2012-03-08 11:16:21 -03:00
ite-cir.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-07-30 00:08:53 -07:00
ite-cir.h [media] ite-cir: 8709 needs to use pnp resource 2 2011-07-01 16:31:38 -03:00
Kconfig [media] rc: Add support for GPIO based IR Receiver driver 2012-03-08 11:14:10 -03:00
lirc_dev.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
Makefile [media] rc: Add support for GPIO based IR Receiver driver 2012-03-08 11:14:10 -03:00
mceusb.c [media] mceusb: add Formosa device ID 0xe042 2012-03-19 19:04:08 -03:00
nuvoton-cir.c [media] nuvoton-cir: simplify raw IR sample handling 2011-09-11 09:33:40 -03:00
nuvoton-cir.h [media] nuvoton-cir: simplify raw IR sample handling 2011-09-11 09:33:40 -03:00
rc-core-priv.h [media] rc/ir-raw: use kfifo_rec_ptr_1 instead of kfifo 2012-03-08 10:39:53 -03:00
rc-loopback.c [media] rc-core: lirc use unsigned int 2011-07-27 17:52:59 -03:00
rc-main.c [media] rc: Pospone ir raw decoders loading until really needed 2012-03-19 22:11:04 -03:00
redrat3.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-01-15 12:49:56 -08:00
streamzap.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
winbond-cir.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30