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

Message ID 200903101755.16111.zzam@gentoo.org (mailing list archive)
State Superseded, archived
Headers

Commit Message

Matthias Schwarzott March 10, 2009, 4:55 p.m. UTC
  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
  

Patch

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.

Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>

Index: v4l-dvb/linux/drivers/media/dvb/b2c2/flexcop-pci.c
===================================================================
--- v4l-dvb.orig/linux/drivers/media/dvb/b2c2/flexcop-pci.c
+++ 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,