Message ID | 20220202010853.40405-3-takahiro.akashi@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ac0:f7d2:0:0:0:0:0 with SMTP id i18csp1191060imr; Tue, 1 Feb 2022 17:09:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcoo2bO3m8GfOu8AlhbEOWb7KfVVzAAeEKcVLpRPOTf+XUNB6sPz8vDvrSnnNEdj3/ZM68 X-Received: by 2002:a17:907:1c8a:: with SMTP id nb10mr23173908ejc.273.1643764197666; Tue, 01 Feb 2022 17:09:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643764197; cv=none; d=google.com; s=arc-20160816; b=QyGq5O/5d6IeVZlHhotMs7Fck9o8qphGZcd3d9XuBHfRwYbbQMck8N4sR+4a6PYghv sFfQDMxaRCnyh99lmRLWUBLbaciYze4Cr3+0wnmQNvjch9GTWA7FzHf2AViwn3CIYu/b EJ7OShTnyGajuHozKK7y8fQK+z9hl4sjBRocz9eNifY4xVF6qa+G+8Rnjay6Zcjq1VuW XlM6MNce1dRlCFBjEnsGgvdCCdDijmWjWX8O2gqYpR1jCnyxyBaHSDfcxg5TEN+qQOQG ojGJbqNkxPHy5x7d4Xc1tbggpmQvw3eE1TpEQZ2VLQPIjuzs7rSeQj4n/R0pU01FB9C/ DElQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Y76P07ukuT1wREwWJsiB4J82LPFAi8f0WyRnmBNx5ts=; b=lMyxD489Rk0196UbzlAKDlXsELXR5eDJ+iyGEvjsJ4ufHnRZwsTp8Y3ZSccYkjb0/L FbabF1cC93z/BZAk10l20Aq1RkH9CrtE93TTL7FeAfw3F1yt8ffwYSckwTu9mCM8Lk8P LUEIkia02R38ifx331ffV9hmt7T8NnapT15w+OIN/gHzBKZ7ILGSoNnxasC4MQgsk2xt A6VVidhhK5JdGKa8YfApNTZU5jM20mQJmeUXP1WTLm6l030KDymJ/BMJR5wpVYVguDtB kp5zJPKJaxXbUPMR3qMLIfdhx21QBfl8bVV89dgPw1CIsvH1k9nUGPx7CeR3RFftTGkZ DrUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x6JTsRpS; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id 13si9802092ejg.544.2022.02.01.17.09.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 17:09:57 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x6JTsRpS; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 869C08340A; Wed, 2 Feb 2022 02:09:45 +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="x6JTsRpS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A1566830AB; Wed, 2 Feb 2022 02:09:43 +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, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (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 C350683845 for <u-boot@lists.denx.de>; Wed, 2 Feb 2022 02:09:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pj1-x1032.google.com with SMTP id h20-20020a17090adb9400b001b518bf99ffso5212375pjv.1 for <u-boot@lists.denx.de>; Tue, 01 Feb 2022 17:09:36 -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=x6JTsRpSTjCZaRSO3afW26E2YX/mv/hW7pEnVjzAknyl/5+yqdtjNP0UVzS0PM4LNg 9dKPkHLw+ofdFFyH4dqV1B33u11L13/7Mni64GA51uatGS0TjfG7t7W+7Qptkhndr/c1 q7YtdebnVGOfRGi3YsFN3PPbLcGClSUajAr2EWQ0YDx4RtK0roi0mRX2B1EGx8YNLqrx ktvOm6OlsNWmgjvPBlb0kU2BsYI7lYxSN2lajvIBEPhDTTGlIVwfAetfBWqtquxfDtfY a0QqtAT84aULApVAhqIiwTLzDztFCwLcLXNMKmBPNENONxWRCc46xkUjUVORpKBXGTjB DyTg== 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=0SERMVCw6CMjKSdjij02s89SKFdi/4OqZwwXzRVvLA1VUJUh58zLVDHRD72ybbafEy F7MwmZMuYxlA8xCIZ2GskrFAtG27sNIEQ4PMn/1CIZ65kxIPvFqfuM7Eb4o4wM36/rkU 74zSQdKE2XpXxobDHoP42O7xwL249CI4nLVN4/L33jvbls1x9UsUXAYRxY2bQlQhZedQ +iS8vYH8h+BBrxqGq9BGavkg9BawPL5BnpVo9LcZGb3VWp6zecle+3Qe4HWdfLvbLZPb 0btPh/0qGetNVjDYmmmJbchK1Qi1iIHNgsZrG6EPFHFA5YDd9Ha+GPawtzYAXZveum6t EAXg== X-Gm-Message-State: AOAM531YCSWEWaBOZmeazh5nPFNdje6AdRCtqMXMrlSUUb/lKdGo3sws IBytJWrQGO40eZC1P5uta8UyYg== X-Received: by 2002:a17:902:e852:: with SMTP id t18mr28386494plg.104.1643764175225; Tue, 01 Feb 2022 17:09:35 -0800 (PST) Received: from localhost.localdomain ([2400:4050:c3e1:100:314e:b83b:fa90:7f2e]) by smtp.gmail.com with ESMTPSA id f5sm10761429pfc.0.2022.02.01.17.09.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 17:09:34 -0800 (PST) From: AKASHI Takahiro <takahiro.akashi@linaro.org> To: lukma@denx.de, peng.fan@nxp.com, jh80.chung@samsung.com, bmeng.cn@gmail.com, peng.ma@nxp.com, sr@denx.de, xypron.glpk@gmx.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: [PATCH 02/19] usb: storage: call device_probe() after scanning Date: Wed, 2 Feb 2022 10:08:36 +0900 Message-Id: <20220202010853.40405-3-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220202010853.40405-1-takahiro.akashi@linaro.org> References: <20220202010853.40405-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.39 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.5 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 */