Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp942513pxb; Tue, 9 Feb 2021 17:28:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJyv49Z20Gi7mAaT+qCLHTLFeVpZ6eUVr6I70SJECdZpp/k9Yy3qQ8RanDFcSBi3CEiTuT7n X-Received: by 2002:a17:907:262b:: with SMTP id aq11mr508633ejc.360.1612920519834; Tue, 09 Feb 2021 17:28:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612920519; cv=none; d=google.com; s=arc-20160816; b=gK0J0bU2Be6HY/LVCd/Jmiw44Vme+RCMy87evv/pmRN0HDTW3HvABJn6NEYvJNpcSI JKouJC08lLdxMno/EXu7CTSBPYR3XEwcLZcjI/Stfi7wqcsOqOEKZfFFm8RTrLS+15AN 3nnbuiYiXMO3iU8DuRg5aMZP+VVtn+riKkRaoBvoZKSPBxlsWNIXobidJSvuqbRQVI6W gF1bdxLOjQc5PZqeaRyv0KabOZuDBoiCOzJnv6fLNDUgiPjQzVUcn/gCB8Ib06WJ8hY8 iYiNfv4vwY4VFbi5t87x76ch+3+5HEZy8A/3+GvvOL8r1KIF/CGlmGj5MsCZPeWoJW3k P2Uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=HvqplVuZrLZE2le19LND64dsOwPwGCdgrMgtGDObIwo=; b=BDusjCacDajCIO8gr1Nyl8ML8fhr2eN5NAyIXVxw73rotSzTke0yHjHUz3lE8TWc6c jq/QntICiBxvPneYbhReTlmHnutaf1iF1Fa/PqHQhtk2X10osXk2Tqf4H3qapX3j5vjz F1CkyccV5Fex7hOmfjgyHEplki47Sb6yvYa8ODorNHHe/3frMyxcLUEFyDe+jMkadzPy M0POrw1XXX2WyHt9Sv6aoNjRJwlSKLKTcmDf9IR91dQKCU9cyXC5hNpaNy+3yHKj3Z2H qos18YAuVMhnzSNzKE19G31PG92uBmou/NAi+F7Buy0koC4Vdg9BUalXapmn3ObkTVsF A6GQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lc8si259107ejc.671.2021.02.09.17.28.16; Tue, 09 Feb 2021 17:28:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234578AbhBJB0f (ORCPT + 99 others); Tue, 9 Feb 2021 20:26:35 -0500 Received: from mga07.intel.com ([134.134.136.100]:15679 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234824AbhBIXLh (ORCPT ); Tue, 9 Feb 2021 18:11:37 -0500 IronPort-SDR: Yq8K1IXHHu/P6mCAvEDC2BqIN40tfYrwnykZdJeUyQcx9HTVQkh41ZTfZf4I4VY3wDUmPiJCm9 486U6ndPofIQ== X-IronPort-AV: E=McAfee;i="6000,8403,9890"; a="246041830" X-IronPort-AV: E=Sophos;i="5.81,166,1610438400"; d="scan'208";a="246041830" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2021 15:05:18 -0800 IronPort-SDR: a6arwtBDVlPnid9+/2ah9wjbZszzK/zJLS0ONW6THj5ne4QAa+B8fBY/tZKS6ShOMB874XtM2k fczV6phvdBYw== X-IronPort-AV: E=Sophos;i="5.81,166,1610438400"; d="scan'208";a="510117583" Received: from muncuer-mobl1.amr.corp.intel.com (HELO [10.209.127.55]) ([10.209.127.55]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2021 15:05:17 -0800 Subject: Re: [PATCH] ASoC: soc-pcm: change error message to debug message To: Mark Brown Cc: Shengjiu Wang , lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <1612771965-5776-1-git-send-email-shengjiu.wang@nxp.com> <20210209222331.GD4916@sirena.org.uk> From: Pierre-Louis Bossart Message-ID: Date: Tue, 9 Feb 2021 17:05:16 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210209222331.GD4916@sirena.org.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/9/21 4:23 PM, Mark Brown wrote: > On Mon, Feb 08, 2021 at 09:06:44AM -0600, Pierre-Louis Bossart wrote: > >> If you demote this to dev_dbg, we'll have to ask every single user who >> reports 'sound is broken' to enable dynamic debug traces. I really don't see >> the benefit, this is a clear case of 'fail big and fail early', partly >> concealing the problem doesn't make it go away but harder to diagnose. > > Don't you also get the same information out of the DAPM debugfs or did > I misread where the error is generated from? I re-checked and I will back-pedal on my comment. I confused this error message with the classic "ASoC: no backend DAIs enabled for %s". I didn't find a single occurrence of this "ASoC: no BE found for %s" in any bug report or Google search. Reviewed-by: Pierre-Louis Bossart