Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2800711imm; Fri, 20 Jul 2018 05:17:26 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcMZg07JOAZZZoVzJ78T/Q1+v6azCY6Br4xTSbIHkHV86WcEGHlKvJQ9eHu7v/PLuxd97he X-Received: by 2002:a62:98d6:: with SMTP id d83-v6mr2001477pfk.186.1532089046777; Fri, 20 Jul 2018 05:17:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532089046; cv=none; d=google.com; s=arc-20160816; b=zVU2tNU0uYWl8y+NgomGRvi4Zj6xcggokXa46SREeenQ6EzHjpU8qzbZa3G7Yzmtj3 5mNVLnUCD6J9PAt5Xm4GwFZPyIvolfScSSMyciPpnn5jnGEB0/mRHyY0LVBYRXpAtJiV Cmrcd9KTe09Lt4aUlo/nN8+rNMhQfm7SRwGuw58ALdxYDOHgRwbN4ogmivXzBibeIurU qV4U5uA9n8oQ9OUpS7bf6S2+yWrMqkuyMUke16i1uSyoMlfIUeg+MEKkjkzCFuFMXKpp sEH/Uy91KS9wiRefJrMpilKspSiq0uyAAPjHrLYUI8tYGDyiSz410eC9jIoE8oneUifC +a3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=GznxiN2ki440fk9Up3gnopY4Ka1wr9Pu6L9DdkDRFiY=; b=SRrRlvjKOOKlYN7g5GLyxMZH07uwkE+NqX3zoLg0Lrk2r9i82vjNfpymoV8Rsfx7S7 bYD1CoOFbgLPNJRAQWT8rGgQ2FJV6pvupSudlK0wTnL/MKngYef3TvTY6H4mrodp2T7/ tYOYz/h5A2MOq+gMzW15zPUoEEmV9EPbI97AVtHHBhUK98yoaX1vLfYafG/avUb4IFwB BUSw2CytIdBHKtFXGugF7QQ1B7n6oIw766W6p/1mxJb+VCIoC9j8LKUDPVxx7aCHxeB3 Io/rLaePhwOU1CrRuaRzL42ppFWA7jSYBRu2teGjjystGvgas4I9WW01mKygqTHno+Pq 0mig== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=JyxjcD0j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o16-v6si1509896pgv.402.2018.07.20.05.17.11; Fri, 20 Jul 2018 05:17:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=JyxjcD0j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731028AbeGTNE2 (ORCPT + 99 others); Fri, 20 Jul 2018 09:04:28 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:60406 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730920AbeGTNE1 (ORCPT ); Fri, 20 Jul 2018 09:04:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=GznxiN2ki440fk9Up3gnopY4Ka1wr9Pu6L9DdkDRFiY=; b=JyxjcD0jX7+YWxjO9zdswvN53 PN00ndwwl4M0aNw/vAHppPKMExiPu6zMwejGL9TXLpyTxlRE/bXackwb9j05PQ+lv7duiCeTLesxV htlncPhVvZTo3+KjfkpPmZ4HdPVWVgWueDcrnWlreTC6hMIEn06xjnjUuY2DG/g21Jf5c=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fgUKT-0008LB-1D; Fri, 20 Jul 2018 12:16:13 +0000 Received: from broonie by debutante with local (Exim 4.91) (envelope-from ) id 1fgUKS-00062p-Fy; Fri, 20 Jul 2018 13:16:12 +0100 Date: Fri, 20 Jul 2018 13:16:12 +0100 From: Mark Brown To: Marcel Ziswiler Cc: alsa-devel@alsa-project.org, linux-tegra@vger.kernel.org, Marcel Ziswiler , Jaroslav Kysela , Thierry Reding , Jonathan Hunter , linux-kernel@vger.kernel.org, Takashi Iwai , Liam Girdwood Subject: Re: [PATCH 2/2] ASoC: tegra: probe deferral error reporting Message-ID: <20180720121612.GC10784@sirena.org.uk> References: <20180720080424.31505-1-marcel@ziswiler.com> <20180720080424.31505-2-marcel@ziswiler.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Clx92ZfkiYIKRjnr" Content-Disposition: inline In-Reply-To: <20180720080424.31505-2-marcel@ziswiler.com> X-Cookie: This unit... must... survive. User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Clx92ZfkiYIKRjnr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jul 20, 2018 at 10:04:24AM +0200, Marcel Ziswiler wrote: > - dev_err(&pdev->dev, "could not get codec-reset GPIO\n"); > + dev_err(&pdev->dev, "could not get codec-reset GPIO: " > + "%d\n", ret); Don't split strings over lines like this, it causes problems when people grep for errors. It's better to go over 80 columns. > ac97->sync_gpio = of_get_named_gpio(pdev->dev.of_node, > "nvidia,codec-sync-gpio", 0); > if (!gpio_is_valid(ac97->sync_gpio)) { > - dev_err(&pdev->dev, "no codec-sync GPIO supplied\n"); > + ret = ac97->sync_gpio; > + dev_err(&pdev->dev, "no codec-sync GPIO supplied: %d\n", ret); > goto err_clk_put; > } This isn't reporting an error code associated with the attempt to find a codec-sync GPIO, it's the result of some other operation. --Clx92ZfkiYIKRjnr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAltR0osACgkQJNaLcl1U h9AVmwf/e4WjlzV4DYAbjzGF9Ht1ig2O1wJA0BPK4/21DHuYhCAkLkLXbGoE3HKD j+0NjjLNSqdSeuQChz+tY0Tw12CIupCNSInA6+AS6cQ/OaAPlaTnNuPjDpF3aXWs aoxbZ+OclgsvtoHU3q7Oq1EHDJTuYBRMIQsw3fZmSG2L9ZX3u86S6spEE2pdVifW ZMHRfbqeIFJpnuVnhHEecYH3y4ZaK1oxOCqpzPWSpcnbSTotMzXSGQLZtc9Voyn7 tS4/aTY3iMsLa/RUpC9PMCBvPdn4Hj9zzWkOeDz1AviKsW0eJaMdAlg2m8f9it8E c0gfHvC1bc0xNsqpQQLp2doD2OwWYA== =qJDp -----END PGP SIGNATURE----- --Clx92ZfkiYIKRjnr--