From patchwork Sun Feb 25 12:31:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 10240861 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 10895603B4 for ; Sun, 25 Feb 2018 12:32:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0485429CBE for ; Sun, 25 Feb 2018 12:32:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED74229CE4; Sun, 25 Feb 2018 12:32:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F11629CBE for ; Sun, 25 Feb 2018 12:32:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751795AbeBYMcG (ORCPT ); Sun, 25 Feb 2018 07:32:06 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34890 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751793AbeBYMby (ORCPT ); Sun, 25 Feb 2018 07:31:54 -0500 Received: by mail-wm0-f67.google.com with SMTP id x7so9987570wmc.0 for ; Sun, 25 Feb 2018 04:31:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=zUMsqz+/Pwuh30snibaoW0RkL9WBAPUxaZEIsQZFDmw=; b=mhTy1g9GuS9Xz/oP7cO9mxVIigv9pLs7EHaHfDt5KHMr8riKWM8Y8RaOhg/8I4eYFV arkPIvJJFf/EoPLTTW2zU5xVewc4mB3wrtxQryj624olS3hKwluedU2Ldjo2awA5F/gm LjTYDGzcipqJqyeOLvwF/qjdx45irD4Z5zIzWQEcmq++bv68+32YfmZi5GNXNsx4zuso +pSSvHsZVzhsKrTGjZGO6YhxOO8C5ef+44tL9XM3NXk3Zyx/TZrpXVqkSk3ARuHvCNn1 NT2+JiOfMZ+7zc547j1YPaejML1gB09Crbbo5DYxjsfwwJnXAjBvS0Y79ASOaiRIf1bs CwOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=zUMsqz+/Pwuh30snibaoW0RkL9WBAPUxaZEIsQZFDmw=; b=USjNb2WHY3SG/LXoHQnL56auUFu80iSDI/cGSuqb5UQt9dXn6QU2rJiLtTgZrCkX2c GI+rA0QjmcfH8OKsXOoRTnaLcVp+hznBbEmHTAI0cPTQanBq1cAnzHeqyNeMRdA8VVIZ KSPI9/FnsFUt7LOIcbhMvdLh73xojTF+6jfwyn/neaYWyOdPtUuPUKr+/dqftbJAIKy1 6IF3RiznF/YsYz707IYbAWsBk1eNdgYcDCeZ3FyQhe2nRE5v2G8rmNvJsGr/SD/ynyMH VDl+mJzeEAV/pOcikwuAl7g9yBOXo1EiDlBcwhTIeuqRi2o0YZyEnDFvVyTnr1IzosJC +6rg== X-Gm-Message-State: APf1xPBfDKw+pAxAkvv56GMPeGzL1oc8VJSrJ63EObaSBoXF50Gbgc7w uudrf2aIaWIby1M7AGKlBh4YDA== X-Google-Smtp-Source: AH8x224mNLqqIEOzuvIC9eE/JLGblDkpjMws8Nxm0BanNK2HtdEE4/y7VUQrV3AveffDNNLFWM+0XA== X-Received: by 10.28.164.196 with SMTP id n187mr5498757wme.141.1519561913145; Sun, 25 Feb 2018 04:31:53 -0800 (PST) Received: from dvbdev.wuest.de (ip-84-118-193-200.unity-media.net. [84.118.193.200]) by smtp.gmail.com with ESMTPSA id y34sm15304779wry.19.2018.02.25.04.31.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Feb 2018 04:31:52 -0800 (PST) From: Daniel Scheller To: linux-media@vger.kernel.org, mchehab@kernel.org, mchehab@s-opensource.com Subject: [PATCH v2 10/12] [media] ngene: don't treat non-existing demods as error Date: Sun, 25 Feb 2018 13:31:38 +0100 Message-Id: <20180225123140.19486-11-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180225123140.19486-1-d.scheller.oss@gmail.com> References: <20180225123140.19486-1-d.scheller.oss@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Scheller When probing the I2C busses in cineS2_probe(), it's no error when there's no hardware connected to the probed expansion connector, so print this informal message with info severity. Signed-off-by: Daniel Scheller --- drivers/media/pci/ngene/ngene-cards.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/ngene/ngene-cards.c b/drivers/media/pci/ngene/ngene-cards.c index d603d0af703e..37e9f0eb6d20 100644 --- a/drivers/media/pci/ngene/ngene-cards.c +++ b/drivers/media/pci/ngene/ngene-cards.c @@ -728,7 +728,7 @@ static int cineS2_probe(struct ngene_channel *chan) dev_info(pdev, "STV0367 on channel %d\n", chan->number); demod_attach_stv0367(chan, i2c); } else { - dev_err(pdev, "No demod found on chan %d\n", chan->number); + dev_info(pdev, "No demod found on chan %d\n", chan->number); return -ENODEV; } return 0;