Message ID | 20211210064947.73361-7-takahiro.akashi@linaro.org |
---|---|
State | Changes Requested, archived |
Delegated to: | Heinrich Schuchardt |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=vequKxCF; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4J9M4x42Njz9sR4 for <incoming@patchwork.ozlabs.org>; Fri, 10 Dec 2021 17:51:29 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E574C830C5; Fri, 10 Dec 2021 07:50:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="vequKxCF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8EF4582054; Fri, 10 Dec 2021 07:50:42 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D5BA783012 for <u-boot@lists.denx.de>; Fri, 10 Dec 2021 07:50:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pj1-x1029.google.com with SMTP id j6-20020a17090a588600b001a78a5ce46aso8788306pji.0 for <u-boot@lists.denx.de>; Thu, 09 Dec 2021 22:50:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bl8C1X+TOksXaJYBdDnrMAHxXq6nwVHHyloe9nAVxDA=; b=vequKxCFnJz1tBKdMetgjIdDsMGhAvpr4/DOW2ut2uJA3EL/7ttNEwoYpSYj8/85TA ohJRj9kGZqNgmd/b7LUHJOnCrK6E8nEfwx09hzIfO2SnJiyx7ZQ5sVAr4u6kNqfLz5Eb +ntQpPeRis2X3FENpmAHM/fhyTOB9k/ij0z3pc68MsUgzwcmkBra9pmbg0DRDQUXHFkL HM2Kr8ffdM59h0+fqk7nX4jd/GhgIBR/vpn5Qp5IZ/8w9oJtX+sEjyuZ1tbzz5LHlOXI F4Ck4GXDWM5hh7kkDO7X6WMCe8h3X+3lxemvlv3xa+IsvsIxOadT0g9t1hcBzEVegSoJ IW4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bl8C1X+TOksXaJYBdDnrMAHxXq6nwVHHyloe9nAVxDA=; b=CJiyA7R1E3KKd19cfciN6/D7bv+yuKpvUSwwHjv7cpuj9Kkg6jF9hJSL6helMfzmMq C6xdS8ozVCO1+wE5C055XLAqwpcAvZXysWo7XfBe/s2B8ltYlCaavcVGpFKCYWRVsjfA MsKzu7vFvGbkUf7Z/Dp8QBAD6PfxIdkYXmC5UzSjgcmDQxlAg1Fumu+9oruQJltEvD/r 1TbsMcZ546XEqqRuHIMrSYzSpuJJbBvM71am87nRXF+C9k39vvY1SeEa4bZVNFI1wwiY 5W+anjdU+d1oBIstH5URPDhccmpwhWWEfPu3m3SHwETaAx1Ulb7D8cXJEq03yxllMACQ QOsQ== X-Gm-Message-State: AOAM530Z3TqYzrX5ZueuCj0yVp2WguucpemqELxzgN1/bWx3xQJQU5np Gk4u3tl0qKyMtQKjc1dd16FzcQ== X-Google-Smtp-Source: ABdhPJyefToOi7oFpN98Zv/oNPkQy5DwKKsPoDMWvd6FXDAzEzj1WXmAOFz7G1ZpA05C0vi5FBf9oQ== X-Received: by 2002:a17:90b:124d:: with SMTP id gx13mr21765472pjb.106.1639119036307; Thu, 09 Dec 2021 22:50:36 -0800 (PST) Received: from localhost.localdomain ([2400:4050:c3e1:100:75dd:4e0e:4542:936e]) by smtp.gmail.com with ESMTPSA id nn4sm1639035pjb.38.2021.12.09.22.50.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 22:50:35 -0800 (PST) From: AKASHI Takahiro <takahiro.akashi@linaro.org> To: xypron.glpk@gmx.de, agraf@csgraf.de, sjg@chromium.org, ilias.apalodimas@linaro.org Cc: masami.hiramatsu@linaro.org, u-boot@lists.denx.de, AKASHI Takahiro <takahiro.akashi@linaro.org> Subject: [RFC v2 06/20] nvme: call device_probe() after scanning Date: Fri, 10 Dec 2021 15:49:33 +0900 Message-Id: <20211210064947.73361-7-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211210064947.73361-1-takahiro.akashi@linaro.org> References: <20211210064947.73361-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
efi_loader: more tightly integrate UEFI disks to driver model
|
expand
|
diff --git a/drivers/nvme/nvme.c b/drivers/nvme/nvme.c index 3c529a2fce22..120a0f05a591 100644 --- a/drivers/nvme/nvme.c +++ b/drivers/nvme/nvme.c @@ -910,6 +910,10 @@ static int nvme_probe(struct udevice *udev) -1, 512, 0, &ns_udev); if (ret) goto free_id; + + ret = blk_probe_or_unbind(ns_udev); + if (ret) + goto free_id; } free(id);