Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6900019ybh; Thu, 8 Aug 2019 07:22:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpLmEZMMC0XrAR09ubqjqBfl9e3Fddg1kmIDh7FGitO2ec8SB/gTIafywZ1WDNAqhujcUK X-Received: by 2002:a17:90a:8c06:: with SMTP id a6mr4435618pjo.45.1565274173105; Thu, 08 Aug 2019 07:22:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565274173; cv=none; d=google.com; s=arc-20160816; b=JgufF5/WsLfi9Pg68kxrRm3p0X5fiYzsOjbwWb4HBjBikWPRvajW3B6+MJJRsILlqM ZJB3utu0vGWHuz/opvhhZi7dLaK+r5DAzsuoslCiHD9tJjNrlvLRN1kIt2MW/7oKbfLO CsZQDPVqhujWHbCfmdnbcpZC/PxKXXJSAoS3ZZa/Keso1SFiprZ0OcYwhtLXpO+q4pVb BQCGKGt/19Tfu9HznTDYI4f9GX4CAS/UcPhYC3TBW8Gquuzu8jZtOt3eA5+KI1qBHWC2 cHIOf8qI4OYHn/TOpqLeF/agIgyMi+CjElEaGKsWampGxTXaFGzoYUK3KE3N80xnUu29 LwRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=R9R4pNwt9uuq1VgKEb/EAbsgASwWpej+aa/aWzuZJ3s=; b=FEn2p7gPkIXUwKDDjv4VsT+ZGwdlMY/tviOiXRpLg0nCHKdyTiFnWorjxJE+/5bgoS gA4eRMK5tadcZStzvQ8aDhU8FVDPZ3t6dPhqVcRC+oUKllkZejWY+yxM/5/wGMAiuqYX 5jYB3qoNwRbvbzsJUYkQUCoC99ziUhemU39oCLBrmjM2tc+m+h+sOLglDlzkqiqqPKxt SZD6Wx7p2Wmi08NLBERQ3E6ikM3/XzIAAkBbQ2wpzmAbEJYY/sNlOLuG5MUgSOafQnFv 4cQZ/DNbfwY93LZ2s5rKLyduVaFoJttAkI/8Evo5/IQajK4qCPva5CkjhEVEwjt1rVkO NW1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=zYTVhAOH; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l8si3861292pgi.347.2019.08.08.07.22.36; Thu, 08 Aug 2019 07:22:53 -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=pass header.i=@agner.ch header.s=dkim header.b=zYTVhAOH; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732804AbfHHM7L (ORCPT + 99 others); Thu, 8 Aug 2019 08:59:11 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:48572 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728327AbfHHM7K (ORCPT ); Thu, 8 Aug 2019 08:59:10 -0400 Received: from webmail.kmu-office.ch (unknown [IPv6:2a02:418:6a02::a3]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 2B57E5C271D; Thu, 8 Aug 2019 14:59:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1565269149; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R9R4pNwt9uuq1VgKEb/EAbsgASwWpej+aa/aWzuZJ3s=; b=zYTVhAOHHOdlKw03JbSXgVmZZGNvZo0ZUGizuplW55WOTHiFI16uqlf4tVjhorgZYHRBsz V87DiYhzjsL78YYluM0SdNgSQV2XzN7zRnJuOYj7tgNZ+d7+ehKtTVsIGjVPfIG5A7LOnc mM/bFy7IahZXsCVDTyM56nlWJYfDCcc= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Thu, 08 Aug 2019 14:59:09 +0200 From: Stefan Agner To: Mark Brown Cc: perex@perex.cz, tiwai@suse.com, lgirdwood@gmail.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Stefan Agner Subject: Re: [PATCH] ASoC: soc-core: remove error due to probe deferral In-Reply-To: <20190808124437.GD3795@sirena.co.uk> References: <20190808123655.31520-1-stefan@agner.ch> <20190808124437.GD3795@sirena.co.uk> Message-ID: <83988e57c768513425ed79eac6744ed8@agner.ch> X-Sender: stefan@agner.ch User-Agent: Roundcube Webmail/1.3.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-08-08 14:44, Mark Brown wrote: > On Thu, Aug 08, 2019 at 02:36:55PM +0200, Stefan Agner wrote: >> From: Stefan Agner >> >> Deferred probes shouldn't cause error messages in the boot log. Avoid >> printing with dev_err() in case EPROBE_DEFER is the return value. > > No, they absolutely should tell the user why they are deferring so the > user has some information to go on when they're trying to figure out why > their device isn't instantiating. Hm, I see, if the driver defers and does not manage in the end, then the messages are indeed helpful. But can we lower severity, e.g. to dev_info? In my case it succeeds in the end, just defers about 6 times. I have 3 links which then leads to 18 error messages which confuse users... From what I can see soc_init_dai_link() would print dev_err in case there is an actual error. -- Stefan