Skip to contentSkip to conversation

flexcop-pci: Print a message in case the new stream watchdog detects a problem

PATCH New Matthias Schwarzott 1 participant 1 message Mar 10, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 flexcop-pci: Print a message in case the new stream watchdog detects a problem

Hi Patrick!

I am happy using the new software watchdog added to flexcop-pci driver, but I do not get any log message. So I added one. The message now uses deb_info, I hope this is appropriate.

Regards
Matthias

flexcop-pci: Print a message in case the new stream watchdog detects a problem

Print a message in case the new software IRQ watchdog detects a problem. I choose the info message category, this can be changed if not appropriate.

linux/drivers/media/dvb/b2c2/flexcop-pci.c +1 -0
Index: v4l-dvb/linux/drivers/media/dvb/b2c2/flexcop-pci.c
===================================================================
@@ -133,6 +133,7 @@ static void flexcop_pci_irq_check_work(s
 			deb_chk("no IRQ since the last check\n");
 			if (fc_pci->stream_problem++ == 3) {
 				struct dvb_demux_feed *feed;
+				deb_info("flexcop-pci: stream problem, resetting pid filter\n");
 
 				spin_lock_irq(&fc->demux.lock);
 				list_for_each_entry(feed, &fc->demux.feed_list,