From patchwork Mon May 6 12:44:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier MOYSAN X-Patchwork-Id: 10930991 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 14ADE912 for ; Mon, 6 May 2019 12:44:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0151B252D5 for ; Mon, 6 May 2019 12:44:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E84E727E5A; Mon, 6 May 2019 12:44:58 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8489C252D5 for ; Mon, 6 May 2019 12:44:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kQgIMgBiI02/1SByAVYV8t+vcXTunoDKkvhoksvrPvs=; b=MdQJyUtZ7eOoJf 06ykRNC+LMHKBWjJ445g4hpCVUZNx7pIomYQMfBQ0IU3q5a3+YGuuQANIiaC7Vew3kC+vTF+sKv5n hVCKQK1ayjkkrdL4A4+TUmSP6xzSecHKsnM1H9C0tCclYUgfO+Qgoy8f2UNxRf7W5HJpHPOjg/90U XEAl4rSF9CpgqrziMpewtpfDRYC5hGR9P3UsWqw0GUPuiTGKXzyF9cnCqfJ0p3e0nIt1XOMuD/91J CkAfOlgAm1/Ux5opT7QavLix6YRAWltTGCHyXxV/UXEagQATya8nK7Dr7Ysd9nioOJ2SRqOqV4YgZ VFD8+YQE4VYgBxzb/Qgw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hNczE-0004hC-LW; Mon, 06 May 2019 12:44:52 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hNcym-00045g-1Q for linux-arm-kernel@lists.infradead.org; Mon, 06 May 2019 12:44:26 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x46Cadlw004670; Mon, 6 May 2019 14:44:15 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=Z+KdRdTJF77ynST0agYQYlNkSLncESUhMnx4yj6tFik=; b=pcm+HptYsC0zk99QmJuZJv6P+Y1l+8ldIsi4lHZfHoOHKUCLkBBKGTMkHKO5QoED4qMf ea+swM+sZ7q2QXeYAJFDH/3xplFhtjnYyqKv6A5fSJkU5ZCP/a4tnIRp5jdA8U87mLNi IC4KwfeakusEwzpURo3LNOQP/tJh5E+HHHe8BVAIekOp/Mgq4O55ICwpq4F7SgyH3MBn e3FjcSYdXlAWZm/jngP7Bff25RytC4YnMvWthhEpXVoIpAItMz4Bxah7ShqrF8yWzUTT M+IgYxV9IzYwXc2V841M2Xa5P8r69vz+rpsc84qPJlZpzPEDWmPzMjnvS9higW/runzJ VQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2s94c39ey3-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 06 May 2019 14:44:15 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 409AE31; Mon, 6 May 2019 12:44:13 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas22.st.com [10.75.90.92]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1C02D2583; Mon, 6 May 2019 12:44:13 +0000 (GMT) Received: from SAFEX1HUBCAS24.st.com (10.75.90.95) by Safex1hubcas22.st.com (10.75.90.92) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 May 2019 14:44:12 +0200 Received: from localhost (10.201.23.16) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 May 2019 14:44:12 +0200 From: Olivier Moysan To: , , , , , , , , , , , Subject: [PATCH 2/3] ASoC: stm32: spdifrx: change trace level on iec control Date: Mon, 6 May 2019 14:44:05 +0200 Message-ID: <1557146646-18150-3-git-send-email-olivier.moysan@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1557146646-18150-1-git-send-email-olivier.moysan@st.com> References: <1557146646-18150-1-git-send-email-olivier.moysan@st.com> MIME-Version: 1.0 X-Originating-IP: [10.201.23.16] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_08:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190506_054424_390486_3B9F22D1 X-CRM114-Status: GOOD ( 14.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: benjamin.gaignard@st.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Change trace level to debug to avoid spurious messages. Return quietly when accessing iec958 control, while no S/PDIF signal is available. Signed-off-by: Olivier Moysan --- sound/soc/stm/stm32_spdifrx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/stm/stm32_spdifrx.c b/sound/soc/stm/stm32_spdifrx.c index aa83b50efabb..3d64200edbb5 100644 --- a/sound/soc/stm/stm32_spdifrx.c +++ b/sound/soc/stm/stm32_spdifrx.c @@ -496,7 +496,7 @@ static int stm32_spdifrx_get_ctrl_data(struct stm32_spdifrx_data *spdifrx) if (wait_for_completion_interruptible_timeout(&spdifrx->cs_completion, msecs_to_jiffies(100)) <= 0) { - dev_err(&spdifrx->pdev->dev, "Failed to get control data\n"); + dev_dbg(&spdifrx->pdev->dev, "Failed to get control data\n"); ret = -EAGAIN; }