Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp4602498ybh; Tue, 6 Aug 2019 14:40:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0iSReSSoxDEfYJa1CrPVOJXoRK1hYFsk/abmdYLSI4f7bCiAK4m7MvoMbUJorHI+66SiI X-Received: by 2002:a17:902:4683:: with SMTP id p3mr4719805pld.31.1565127637004; Tue, 06 Aug 2019 14:40:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565127636; cv=none; d=google.com; s=arc-20160816; b=DwTF7TE+GgrILK60hWBYRAo37LN97i1tzkkPjVwWui3VZOZpcKZi+fvTTOPaOYk6fB Bl0GBuHFAuyuBHQHpJktw7E8QSuXfjzlXDdEvnMn+wI6MD7H1VyoLMOTpLkq+XRaxI4x myIlFHVbR+GSnt0vGwJ0kwcPYuZRCXl9AH9LkNfn6hv6zD/dZ5rkLnRsN23wUEezL9pw YHRke8d9QJ2FEAqIo9hTO65sP5Fdk2KRmNHjY4VPJqXOuxk24eXEvJWHnrpsC70KUYCN F7MsMK5yutJIyN0PM5jCshf1Ys7D6HIL4gTyb92QAiSz2dCcZMkz2ak+mm3x5vWUxiP8 pYdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=R2ZD68Vxihime7IHq3VJEfHikMKrWso/EwmdG8iKdVQ=; b=Mgc7ULi4nsGoHn8beV/H5IV2/hi5noqGE0d61eP6Ik4fUQUq+jGo+10Ixvu6GBNzaf nuUN2WjRbXGoJWBPfdtUG1PLJ4Tj2dK2s8bvILzzuRuhuyX4BCZGJc4jzcuL7U+aPjIV DYOlPNDQv/8iII6J4RG63tC5BsTOOazUAzLgYkQKgBAb04ixWDgo2Oywy5fVP71Ddphi hH8VHZW+tC9H2/lHT5LKG/z9QgAawYPIDHsLzUF45er/WEk8IJABxDEVjSNvf/p1TWW0 Bu2fxiZowqppisksuAWBMYR9PAODonhKcDr6G0KzdTlZbCKbSqj6ma2JhI47vzIHPyUr jCow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sj4yVEHo; 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=pass (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 29si51205716pgk.306.2019.08.06.14.40.21; Tue, 06 Aug 2019 14:40:36 -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=@kernel.org header.s=default header.b=sj4yVEHo; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729011AbfHFVio (ORCPT + 99 others); Tue, 6 Aug 2019 17:38:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:55796 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729624AbfHFViG (ORCPT ); Tue, 6 Aug 2019 17:38:06 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A05332189E; Tue, 6 Aug 2019 21:38:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565127486; bh=TVfTkcJ8KkVOiUsmcxKFMFDoP6IU3vPc4t5JMQzWKuQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sj4yVEHoRUVLcMpK4KEErnAf8wkPy0OL8zzCJXJXJ3ZyoSIkJl04jzLve+Orm1o/1 AxjsFQTbRxywpmmjZkodhaE9hWvOlicXG+U+vHuNBj6tZ/HyA1XoxhbMBW3Ug8amkO GNCsF6hdtEjZYgj+AH8u93g4PqhLWMCylW9bXm5Y= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Miquel Raynal , Hans de Goede , Jens Axboe , Sasha Levin , linux-ide@vger.kernel.org Subject: [PATCH AUTOSEL 4.4 09/14] ata: libahci: do not complain in case of deferred probe Date: Tue, 6 Aug 2019 17:37:43 -0400 Message-Id: <20190806213749.20689-9-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190806213749.20689-1-sashal@kernel.org> References: <20190806213749.20689-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Miquel Raynal [ Upstream commit 090bb803708198e5ab6b0046398c7ed9f4d12d6b ] Retrieving PHYs can defer the probe, do not spawn an error when -EPROBE_DEFER is returned, it is normal behavior. Fixes: b1a9edbda040 ("ata: libahci: allow to use multiple PHYs") Reviewed-by: Hans de Goede Signed-off-by: Miquel Raynal Signed-off-by: Jens Axboe Signed-off-by: Sasha Levin --- drivers/ata/libahci_platform.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/ata/libahci_platform.c b/drivers/ata/libahci_platform.c index cd2eab6aa92ea..65371e1befe8a 100644 --- a/drivers/ata/libahci_platform.c +++ b/drivers/ata/libahci_platform.c @@ -300,6 +300,9 @@ static int ahci_platform_get_phy(struct ahci_host_priv *hpriv, u32 port, hpriv->phys[port] = NULL; rc = 0; break; + case -EPROBE_DEFER: + /* Do not complain yet */ + break; default: dev_err(dev, -- 2.20.1