Message ID | 20211210064947.73361-5-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=NfuoF0EQ; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4J9M4X2LWBz9sR4 for <incoming@patchwork.ozlabs.org>; Fri, 10 Dec 2021 17:51:08 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0DDF9830BE; Fri, 10 Dec 2021 07:50:48 +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="NfuoF0EQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C2F2682982; Fri, 10 Dec 2021 07:50:37 +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-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) (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 2C09F830BE for <u-boot@lists.denx.de>; Fri, 10 Dec 2021 07:50:32 +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-pl1-x62c.google.com with SMTP id y7so5695839plp.0 for <u-boot@lists.denx.de>; Thu, 09 Dec 2021 22:50:32 -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=Y76P07ukuT1wREwWJsiB4J82LPFAi8f0WyRnmBNx5ts=; b=NfuoF0EQ7Ai/dXAsW7E/8hjK5RsbSVbvgSebH45jVxwdzatbld5faguwiZizTlq5bC F2Fj72W7KSUbAUFu4qPELA876fUAPass+gaj7UCdrkXvJvPlp06JCien6MpiAI+VRDqs UFEht08eboeHu1I/fY1fIZY7OlJsColclvxHzlG1uKnez2DPsHUqMdB7v3dvJ+qENLh4 qUxi7V9mkeiYW8NdEDb+8kbJJzRHmHzunHIdwVsfR/GO7Tl1JdD4WytDAYwoprLU/IeN hmbepSvkVIEIaYOMFFq6Ilg68b7mBRHqaYJ2tZ+6AYz+GJjjBopZswhM4Mp33LWz+rgE bQIA== 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=Y76P07ukuT1wREwWJsiB4J82LPFAi8f0WyRnmBNx5ts=; b=cQBYSWF3OiJ+e9aigGlXfQr1mAJxjvnvZ1pG9tmYcAJJfjVztKao3B88JKvqT4fx6t 7DaF0nHOTor3B+ko+TyqtgbJfI4f8gXIzRMAd68SMoDqB9b+AW/bFoYkeft5exN0ZkMH kGrI+pxNBONNB4cK3UDPr3/h/GdHhm2F4Cz2hBunI82J9ahOMGOEMD/TB4j8CGV1nWKD o5VPb7f0gQ5Ny3fJJF4OnyhjLYYIGmaU4Qy3yOuxCKzfIMVz1tkMUD5pTOlOAhCU6vrs NuUKAJaz5tYTS1FcGOsyL/mvia7c27Oa4RH/miXjMHMQuT0zAlbsJsMqXwMgKKEHJPgO gWKQ== X-Gm-Message-State: AOAM531whgnZNmf9v8yxQOkLCPP0gwzTh8PQGQUrzWrnH+mJxgZtk9L2 LQr5d2EOVsQhcSZ720qXfZHbnQ== X-Google-Smtp-Source: ABdhPJxLn+HyV2Y7REGitrDCFDvpjKdn1JaBufqEiZym4oQjWe/UVaqMLfdidCEOGlN/AsMFwNb+AA== X-Received: by 2002:a17:902:da8d:b0:142:4fa:9147 with SMTP id j13-20020a170902da8d00b0014204fa9147mr72309385plx.72.1639119030572; Thu, 09 Dec 2021 22:50:30 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 22:50:29 -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 04/20] usb: storage: call device_probe() after scanning Date: Fri, 10 Dec 2021 15:49:31 +0900 Message-Id: <20211210064947.73361-5-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/common/usb_storage.c b/common/usb_storage.c index c9e2d7343ce2..291728f37e0a 100644 --- a/common/usb_storage.c +++ b/common/usb_storage.c @@ -239,6 +239,10 @@ static int usb_stor_probe_device(struct usb_device *udev) if (ret) return ret; } + + ret = blk_probe_or_unbind(dev); + if (ret) + return ret; } #else /* We don't have space to even probe if we hit the maximum */