Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11A74C433DF for ; Thu, 21 May 2020 15:45:02 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7C1FD207D8 for ; Thu, 21 May 2020 15:45:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="g1SoywUu"; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="WaTbMWIP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7C1FD207D8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id BA8481839; Thu, 21 May 2020 17:44:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BA8481839 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1590075899; bh=otl0RC7Tg+nsvDVxGhpHR3QxXtwQkcuJIDuNR3qaBM4=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=g1SoywUuALtLKMoMB2yV3dyN95MGskU6CsV3YSLy/CNSTs1M7mPErTGIT5O1IF50t 0Bwmm2cO2BtjNjG0YKlX1TTuk6HheiuF8uYdx6tAZsxLL3snn9BfgijB7bFnSDUo2g VkUD/H8OysKykRT/8TXGQsEzt2CXpphgWEb2yGCQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 0EF32F801A3; Thu, 21 May 2020 17:44:08 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 949C2F801D8; Thu, 21 May 2020 17:44:06 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 85039F80161 for ; Thu, 21 May 2020 17:44:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 85039F80161 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="WaTbMWIP" Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 93806207D8; Thu, 21 May 2020 15:43:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590075839; bh=otl0RC7Tg+nsvDVxGhpHR3QxXtwQkcuJIDuNR3qaBM4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WaTbMWIP29Bzo+a1yEuZsMKM5gWL3BmevF5ks+ilp1WF15K8p1dtdqZCCvQ7cGW1C 6ljC7JK8RZi+yD+blv0DYLTsljtQ0LKZnzgFT9GCHRJSY4pIZegTjOuZ74W8sJ2sI5 OnriqFiTG7ijPbYtbM2ezPNE3BJWwQk7uY9u4NmY= Date: Thu, 21 May 2020 16:43:56 +0100 From: Mark Brown To: Hui Wang Subject: Re: [PATCH for-5.8] ASoC: amd: doesn't print error log if the return value is EPROBE_DEFER Message-ID: <20200521154356.GD4770@sirena.org.uk> References: <20200521144434.14442-1-hui.wang@canonical.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hxkXGo8AKqTJ+9QI" Content-Disposition: inline In-Reply-To: <20200521144434.14442-1-hui.wang@canonical.com> X-Cookie: Keep your laws off my body! User-Agent: Mutt/1.10.1 (2018-07-13) Cc: alsa-devel@alsa-project.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" --hxkXGo8AKqTJ+9QI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 21, 2020 at 10:44:34PM +0800, Hui Wang wrote: > The machine driver module and codec driver module don't have > dependency, it is possible that the machine driver is loaded ahead of > the codec driver, then the register_card() will fail and return > EPROBE_DEFER, in this case the driver should not print error log since > this is not a real failure. This isn't helpful to people who are trying to figure out why the driver isn't loading - if we silently fail then the user will struggle to determine what the problem that causes their driver to fail to bind is. --hxkXGo8AKqTJ+9QI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl7GobsACgkQJNaLcl1U h9AyQwf9F40ihCgtfYl+E7tvkO3eddB+0JiZX44OeBjCN+CTA0G9lWcQ02MZjedj PhhntGxTOzs4n48N7Z7NZa5FE1o5PuH22M7AjPKSIBHVWOOZcebraaxdFjUAo0a5 9CkiYJs/wvkDSWjMz3ljw8FhtdQogZI8akmgM8KTxpiNQwYk7cB0U5eYOv7Wc5bq vyd7eHlJgX4QVAxveagxD00PP6yW/FY6vqR+AzQxqMXZNF+AOwRxzR54DHSzRMpU byGS/3HsApyOcaIk8uVaU/n11FaCZfY1IW9Ga6r+3HN3cc7YZtM0EKUhGJyFcTZ5 IM7NmT24Fe71iMpUHW5bgyuTtTAxhw== =g1Wn -----END PGP SIGNATURE----- --hxkXGo8AKqTJ+9QI--