linux/drivers/media/pci/mantis
Mauro Carvalho Chehab cac61a1acb media: mantis: prevent staying forever in a loop at IRQ
As warned by smatch:
	drivers/media/pci/mantis/mantis_uart.c:105 mantis_uart_work() warn: this loop depends on readl() succeeding

If something goes wrong at readl(), the logic will stay there
inside an IRQ code forever. This is not the nicest thing to
do :-)

So, add a timeout there, preventing staying inside the IRQ
for more than 10ms.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-04-17 05:50:05 -04:00
..
hopper_cards.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
hopper_vp3028.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
hopper_vp3028.h
Kconfig
Makefile media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_ca.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_ca.h
mantis_cards.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_common.h media: rc-core: rename input_name to device_name 2017-08-20 09:43:52 -04:00
mantis_core.c [media] media: pci: mantis: mantis_core.c: Remove unused function 2015-01-27 10:10:06 -02:00
mantis_core.h
mantis_dma.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_dma.h
mantis_dvb.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_dvb.h
mantis_evm.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_hif.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_hif.h
mantis_i2c.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_i2c.h
mantis_input.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_input.h [media] mantis: cleanup CodingStyle issues due to last commit 2015-06-10 12:06:34 -03:00
mantis_ioc.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_ioc.h
mantis_link.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_pci.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_pci.h
mantis_pcmcia.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_reg.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
mantis_uart.c media: mantis: prevent staying forever in a loop at IRQ 2018-04-17 05:50:05 -04:00
mantis_uart.h
mantis_vp1033.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_vp1033.h
mantis_vp1034.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_vp1034.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_vp1041.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
mantis_vp1041.h
mantis_vp2033.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_vp2033.h
mantis_vp2040.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_vp2040.h
mantis_vp3030.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mantis_vp3030.h