From patchwork Wed Mar 1 11:38:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 62863 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp3584114wrd; Wed, 1 Mar 2023 03:50:47 -0800 (PST) X-Google-Smtp-Source: AK7set+XmUQq9NQtJEOHglXpTcfAwkuJUnY4uP7eUrttNTXm1ag0Z39KXUSBN6kJhpeZ9gMope7e X-Received: by 2002:a17:902:f650:b0:19c:fd9e:f88c with SMTP id m16-20020a170902f65000b0019cfd9ef88cmr6136416plg.18.1677671446850; Wed, 01 Mar 2023 03:50:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677671446; cv=none; d=google.com; s=arc-20160816; b=QSIp1YURpezi/6vjuR2/BEh9jH6YgetkUCDYZqaGJyFBb6Koe7EU+LE+0O/hK4tWiz +VWj/0MROYEiKCv8GY1U9Ga0v51YWY3gpOjSH79a7OMAG5+i/Qe8KwBCKLJ7J3rXF9Bt WCvsSRvVom5fk8Cbez9jSkdInqUV7MFqIvHwHyhYixJ0WJNuzQNjR5JTWqYpAh2RDjoK RJ4Xmv4aRpWzgXy1RLj+u5AEeMLyUyXeDWoFSOeLjFWHG0KsKDJobJYrqGh+xBqcpJ/R acJHwmbdaDunxkUwW0b7nb+UiZpzU+kvRffYtZ4pCsrO/rKaX+BlKzrjgCGGXWJr4l2D 77Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Heke5A4kNVUD/oiG4lJ6HPUcng5H3pAqhjoSGEA/8Jo=; b=OP0/Pt+9fKADbxfLv27MxIO6yaUij6+KyXzSUj5vOje0GwXgviZTfZ+xJpGl1nHLat OwBRgFdNibCykUg0AgaYy0KRwVzbMsoQ+B4rpiXZeSqNkRysBmK+9HtUvyVPKI/z9TRD Bp/ocT7zCxyvePO8zWYij+dO19/BxKGXcLfCTlM+ZJkn/h3DGlbRCsCXJU1jHbObscWX mG6L0NZt8mjVabhWOHz9SD+entrY1j9UQ2Z8XXCKCeO1XsfnZltbylnLXoGFWMYV6qQ/ gPAzQ1VI8aUwv6saSMbCZ7901fet4bjnruAq+orflqoaRqbU2vUJnJ0bP7D/iL5iG/c8 fvFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=XZvrGbUl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ki7-20020a170903068700b0019cb3c949f1si11748544plb.598.2023.03.01.03.50.33; Wed, 01 Mar 2023 03:50:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=XZvrGbUl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229987AbjCALin (ORCPT + 99 others); Wed, 1 Mar 2023 06:38:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229942AbjCALij (ORCPT ); Wed, 1 Mar 2023 06:38:39 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66A2A3C78C for ; Wed, 1 Mar 2023 03:38:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1677670718; x=1709206718; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=KXEtH9jKkzGjGt3ggsFrpH4RQJqfkFidzUrK69mPhKo=; b=XZvrGbUl5EjzZVKWqUODLoPxLwZxYsSsXyLtdbt8sonEX8V0LiOD3pGS tJzVbaLkVfdn4HCH8bpgIKi+m2pRDq98s3RQSd9+r6EoxPlwz7WcibGxa WoKUr9xtMZtRiPVPWAaOAhDzdsCBq5+pfcqdp2jkm8t6udC3QNUZ8ucNO nXDuSfqP8rL/B6sqxVvbCbu6l3P0LSiBhsiPj/rohE9srKacF8/qgoOi8 jXGQYBTKtAQJ3N/5IH8St9dsVt5njqtRe1vdaCOdxcMbNagdX2i70hIrl 1jxrbflkAZdjfzJZ7ZfPjowT0FWv3GLjO3GzfzOA8AnP01QWCh3WxGeC1 g==; X-IronPort-AV: E=Sophos;i="5.98,224,1673938800"; d="scan'208";a="202746412" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 01 Mar 2023 04:38:37 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 1 Mar 2023 04:38:37 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Wed, 1 Mar 2023 04:38:34 -0700 From: Claudiu Beznea To: , , , , , CC: , , , Claudiu Beznea Subject: [PATCH 3/8] ASoC: mchp-spdiftx: update debug message Date: Wed, 1 Mar 2023 13:38:02 +0200 Message-ID: <20230301113807.24036-4-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230301113807.24036-1-claudiu.beznea@microchip.com> References: <20230301113807.24036-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759166014910468573?= X-GMAIL-MSGID: =?utf-8?q?1759166014910468573?= Previous debug message states that there was a failure and tx was not disabled. Which is not true as the TX in this function could also be enabled. Thus improve a bit the debug message by s/disable/start\/stop/. Signed-off-by: Claudiu Beznea --- sound/soc/atmel/mchp-spdiftx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/atmel/mchp-spdiftx.c b/sound/soc/atmel/mchp-spdiftx.c index e7241d819748..02a2fa7a42dd 100644 --- a/sound/soc/atmel/mchp-spdiftx.c +++ b/sound/soc/atmel/mchp-spdiftx.c @@ -337,7 +337,7 @@ static int mchp_spdiftx_trigger(struct snd_pcm_substream *substream, int cmd, } spin_unlock(&ctrl->lock); if (ret) - dev_err(dev->dev, "unable to disable TX: %d\n", ret); + dev_err(dev->dev, "unable to start/stop TX: %d\n", ret); return ret; }