From patchwork Tue Mar 10 16:55:14 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schwarzott X-Patchwork-Id: 874 Return-path: X-OfflineIMAP-461521930-426f6d626164696c-494e424f582e6c696e75782d6d65646961: 1241207973-0246223146769-v6.0.3 X-OfflineIMAP-x532901842-4c6f63616c-496e667261646561642e6c696e75782d6d65646961: 1241139415-0219757638639-v6.0.3 Envelope-to: mchehab@infradead.org Delivery-date: Tue, 10 Mar 2009 16:57:44 +0000 Received: from vger.kernel.org ([209.132.176.167]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1Lh5Gx-0004gF-Rt for mchehab@infradead.org; Tue, 10 Mar 2009 16:57:44 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754130AbZCJQzZ (ORCPT ); Tue, 10 Mar 2009 12:55:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754532AbZCJQzY (ORCPT ); Tue, 10 Mar 2009 12:55:24 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:49506 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754130AbZCJQzW (ORCPT ); Tue, 10 Mar 2009 12:55:22 -0400 Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 8B05C1C01FF7; Tue, 10 Mar 2009 17:55:20 +0100 (CET) Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id 9C1CF90171; Tue, 10 Mar 2009 17:55:19 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id GZuTTOol-6YC; Tue, 10 Mar 2009 17:55:18 +0100 (CET) Received: from gauss.x.fun (ppp-88-217-107-225.dynamic.mnet-online.de [88.217.107.225]) by mail.nefkom.net (Postfix) with ESMTP; Tue, 10 Mar 2009 17:55:18 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by gauss.x.fun (Postfix) with ESMTP id 9DEBA169C24; Tue, 10 Mar 2009 17:55:17 +0100 (CET) From: Matthias Schwarzott To: Patrick Boettcher Subject: [PATCH] flexcop-pci: Print a message in case the new stream watchdog detects a problem Date: Tue, 10 Mar 2009 17:55:14 +0100 User-Agent: KMail/1.9.10 Cc: Uwe Bugla , linux-media@vger.kernel.org MIME-Version: 1.0 Message-Id: <200903101755.16111.zzam@gentoo.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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. Signed-off-by: Matthias Schwarzott 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,