From patchwork Wed Aug 2 08:13:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 9876167 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 6744E60360 for ; Wed, 2 Aug 2017 08:14:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58E702878E for ; Wed, 2 Aug 2017 08:14:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4DCB628795; Wed, 2 Aug 2017 08:14:07 +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=-1.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7CB6628796 for ; Wed, 2 Aug 2017 08:14:06 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 783D2267264; Wed, 2 Aug 2017 10:14:04 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 06076267265; Wed, 2 Aug 2017 10:14:04 +0200 (CEST) Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by alsa0.perex.cz (Postfix) with ESMTP id DF7EF266847 for ; Wed, 2 Aug 2017 10:14:01 +0200 (CEST) Received: by mail-pg0-f68.google.com with SMTP id 123so3931194pga.5 for ; Wed, 02 Aug 2017 01:14:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ingics-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=OdW/8QOVgUVgphyrCXeN6gvj/Rx+jYiW1lLlZee3WdA=; b=qT0S72864JykMR8aP8Mloq/97Yymak1QuOrS/AfHkMUYXYMYe/ye9D33WFY/h2I7Mf AU4mf/hRUyuRyk+NbF3vxXgXkd+pcMsaGAFcPMi6lNRBqoCotc8koxUqQf5UQ4nwXg8S vzZLJktCRGIpFJi96xM5bQT7q24ESOo9eTJLAkTGf6V8bjl2/r4e06c18+K9BQuSsPJ2 kK5ovsgaiRw57qTJco0PMvm4u9ikDYIw6wGOwwZmIoc72CtTMc13SzKh3DYpZ1Y0QJ1r FrHn1PGVz2xWuu5fcp2vilqecOmWBzt5nDcOFCPpxcomh1MqsSZVBQvZ+Nj6RlGoaVea ekrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=OdW/8QOVgUVgphyrCXeN6gvj/Rx+jYiW1lLlZee3WdA=; b=eKhucoBMZ3KPI1udYXj5i87p9rTnjkp+X0EefcwUX7TrAQvVv50pIJOXuDIeIZWexe 9odxHnsSqhhc2weSVwepKwm+5LC7iLLt+G0cx4mpKDHYlCVe7eddcMR2cO+ia0i3+V52 0iJ0+f7BUa3ONK6bl0YhVrgj5nPCn6inp7sgpT/iQHICuylL3zVMs5iUbEzyUT4Nf69A XJtk/KnGyiejHTJ380CW6ZhtHWgAM4CcNp8JCzCqVWdiKJdpKM+dOXyKvUoGErmZuf/S irysF6XLmxsT2axGboU71ebInQZ1kLX8Enna/337IUvVOT1CYAuDoHg2y3jogFyR+exa DUZg== X-Gm-Message-State: AIVw112LM2WptjDDljDhpgRIKj309siTuYqVcwE2lOMq8doHAMxz1g1R +XoBc1U+52MB5jXT X-Received: by 10.98.73.217 with SMTP id r86mr21894107pfi.265.1501661640177; Wed, 02 Aug 2017 01:14:00 -0700 (PDT) Received: from localhost.localdomain (118-171-142-123.dynamic-ip.hinet.net. [118.171.142.123]) by smtp.gmail.com with ESMTPSA id x81sm60569662pfi.20.2017.08.02.01.13.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Aug 2017 01:13:59 -0700 (PDT) From: Axel Lin To: Mark Brown Date: Wed, 2 Aug 2017 16:13:46 +0800 Message-Id: <20170802081346.8179-1-axel.lin@ingics.com> X-Mailer: git-send-email 2.9.3 Cc: Mihai Serban , Shengjiu Wang , Axel Lin , Liam Girdwood , alsa-devel@alsa-project.org Subject: [alsa-devel] [PATCH] ASoC: wm8524: Don't use dev_err to show supported sample rate X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Switch to use dev_dbg instead. Signed-off-by: Axel Lin Acked-by: Mihai Serban --- sound/soc/codecs/wm8524.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/wm8524.c b/sound/soc/codecs/wm8524.c index e22b76d..b66147e 100644 --- a/sound/soc/codecs/wm8524.c +++ b/sound/soc/codecs/wm8524.c @@ -118,7 +118,7 @@ static int wm8524_set_dai_sysclk(struct snd_soc_dai *codec_dai, case 96000: case 176400: case 192000: - dev_err(codec->dev, "Supported sample rate: %dHz\n", + dev_dbg(codec->dev, "Supported sample rate: %dHz\n", val); wm8524->rate_constraint_list[j++] = val; wm8524->rate_constraint.count++;