From patchwork Mon Oct 27 13:44:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johann Klammer X-Patchwork-Id: 5160751 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3823D9F3ED for ; Mon, 27 Oct 2014 13:46:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 61F892011E for ; Mon, 27 Oct 2014 13:46:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 563E32024D for ; Mon, 27 Oct 2014 13:46:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753004AbaJ0NpI (ORCPT ); Mon, 27 Oct 2014 09:45:08 -0400 Received: from smtpout02.highway.telekom.at ([195.3.96.113]:35277 "EHLO email.aon.at" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752969AbaJ0NpF (ORCPT ); Mon, 27 Oct 2014 09:45:05 -0400 Received: (qmail 22394 invoked from network); 27 Oct 2014 13:45:01 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: Received: from 194-96-19-162.adsl.highway.telekom.at (HELO [192.168.0.2]) ([194.96.19.162]) (envelope-sender ) by smarthub77.res.a1.net (qmail-ldap-1.03) with SMTP; 27 Oct 2014 13:45:01 -0000 X-A1Mail-Track-Id: 1414417493:21541:smarthub77:194.96.19.162:1 Message-ID: <544E4C57.9080302@a1.net> Date: Mon, 27 Oct 2014 14:44:55 +0100 From: Johann Klammer User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 To: hverkuil@xs4all.nl CC: m.chehab@samsung.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, trivial@kernel.org Subject: [PATCH][RESEND][TRIVIAL] Turn bothersome error into a debug message References: <542AE6A6.9000504@a1.net> In-Reply-To: <542AE6A6.9000504@a1.net> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Virus-Scanned: ClamAV using ClamSMTP Let's see if that works now... On 09/30/2014 07:21 PM, Johann Klammer wrote: > Hello, > > After updating the kernel to 3.14.15 I am seeing these messages: > > [273684.964081] saa7146: saa7146 (0): saa7146_wait_for_debi_done_sleep > timed out while waiting for registers getting programmed > [273690.020061] saa7146: saa7146 (0): saa7146_wait_for_debi_done_sleep > timed out while waiting for registers getting programmed > [273695.076082] saa7146: saa7146 (0): saa7146_wait_for_debi_done_sleep > timed out while waiting for registers getting programmed > [273700.132077] saa7146: saa7146 (0): saa7146_wait_for_debi_done_sleep > timed out while waiting for registers getting programmed > [273705.188070] saa7146: saa7146 (0): saa7146_wait_for_debi_done_sleep > timed out while waiting for registers getting programmed > [273710.244066] saa7146: saa7146 (0): saa7146_wait_for_debi_done_sleep > timed out while waiting for registers getting programmed > [273715.300187] saa7146: saa7146 (0): saa7146_wait_for_debi_done_sleep > timed out while waiting for registers getting programmed > [273720.356068] saa7146: saa7146 (0): saa7146_wait_for_debi_done_sleep > timed out while waiting for registers getting programmed > [273725.412188] saa7146: saa7146 (0): saa7146_wait_for_debi_done_sleep > timed out while waiting for registers getting programmed > [273730.468094] saa7146: saa7146 (0): saa7146_wait_for_debi_done_sleep > timed out while waiting for registers getting programmed > [273735.524070] saa7146: saa7146 (0): saa7146_wait_for_debi_done_sleep > timed out while waiting for registers getting programmed > [273740.580176] saa7146: saa7146 (0): saa7146_wait_for_debi_done_sleep > timed out while waiting for registers getting programmed > > filling up the logs(one about every 5 seconds). > > The TV card is a Terratec Cinergy 1200 DVBS (I believe.. it's rather old). > > I can not observe any erratic behavior, just those pesky messages... > > I see there was an earlier post here in 2008 about a similar > problem...(Cinergy 1200 DVB-C... a coincidence?) > > What does it mean? > Do I need to be worried? > > I am using a debian testing on a 32 bit box. > The previous kernel was linux-image-3.12-1-486. > It did not show those messages, but maybe due to some configure > options... I built this one from linux-source-3.14... > Answering my own question: Other posts suggests that it is not actually an error on cards without a CI interface. Here's a patch that turns it into a debug message, so it does not clobber the logs. Signed-off-by: Johann Klammer --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- linux-source-3.14/drivers/media/common/saa7146/saa7146_core.c.orig 2014-07-31 23:51:43.000000000 +0200 +++ linux-source-3.14/drivers/media/common/saa7146/saa7146_core.c 2014-10-06 18:57:54.000000000 +0200 @@ -71,7 +71,7 @@ static inline int saa7146_wait_for_debi_ if (saa7146_read(dev, MC2) & 2) break; if (err) { - pr_err("%s: %s timed out while waiting for registers getting programmed\n", + pr_debug("%s: %s timed out while waiting for registers getting programmed\n", dev->name, __func__); return -ETIMEDOUT; }