From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B666DC433EF for ; Sun, 10 Oct 2021 14:15:00 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CB7F361076 for ; Sun, 10 Oct 2021 14:14:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CB7F361076 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5BA718354E; Sun, 10 Oct 2021 16:14:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="SMfpEJXS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B637A833B1; Sun, 10 Oct 2021 16:14:24 +0200 (CEST) Received: from mail-ua1-x92e.google.com (mail-ua1-x92e.google.com [IPv6:2607:f8b0:4864:20::92e]) (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 A40078354E for ; Sun, 10 Oct 2021 16:14:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-ua1-x92e.google.com with SMTP id u5so10299534uao.13 for ; Sun, 10 Oct 2021 07:14:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VwycEW2npLHWPFCfE+B5a+Ji3dWhic8iaEbtWPjEC+E=; b=SMfpEJXSCqT+5AabcPe3gWhZ7ZcvhDAetr/JNrxw4Zg/cRfWbtIdSULWC5OhZZk3hw 1RtyF4QFtN+qOasF9Kiap7GYshsPQaRZvQ/FXpbtKPVzxydeMLyxqJDhW2uXMm3soqPI 6xM3HZQiOyP77a/euckjXvU9gHhtfs9txtd2w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VwycEW2npLHWPFCfE+B5a+Ji3dWhic8iaEbtWPjEC+E=; b=Qj8za5H9xa7B8i2ZRe/qCwrKFzqoadRZ/bHh+d7htvs8URdRgTxswdXia8EKu953AR 9lx3SfcjNWL53gGgTzMBa2lfoXWy3XJO/FUlB9FKGsSdMudSpyiWSKYveksW4pEDj4KQ RBxJflWVU31L9pHwEA4Lcdk2GaWbdnJGvIpj85HoqLp4MSl3waELOpNtEEk0FJOHnWhs Lcq/VF7SYzFMHWe0Eidyx9uH5K48ZgPyxP1+UXYnhfn5WOpvNf9KydLuAp6BSZMZnf/x s7uyK98SDc7QK34TLHoglX/opNE89rkIG1htNiihyvIcTMDx3/53lc7LV+QQWkOOMlj9 JV/w== X-Gm-Message-State: AOAM532F+VbX9SIvOumKXzXlwVd7i7QyfZLAaoJtU+86kShuh79njd+s N0jF9unukXafaEoKZZ/doAc1DvsBc8mbo1ruO7pUqQ== X-Google-Smtp-Source: ABdhPJwu83VtG8HhPmhxsW/mh61781ZGHV1/3d6E6ItUkj6jxQv7ZdiSirm9vFY5RpgvBMmenWwskkoQfodShkmXHG4= X-Received: by 2002:ab0:14a7:: with SMTP id d36mr11596914uae.96.1633875259184; Sun, 10 Oct 2021 07:14:19 -0700 (PDT) MIME-Version: 1.0 References: <20211001050228.55183-1-takahiro.akashi@linaro.org> <20211001050228.55183-7-takahiro.akashi@linaro.org> In-Reply-To: <20211001050228.55183-7-takahiro.akashi@linaro.org> From: Simon Glass Date: Sun, 10 Oct 2021 08:14:07 -0600 Message-ID: Subject: Re: [RFC 03/22] usb: storage: call device_probe() after scanning To: AKASHI Takahiro Cc: Heinrich Schuchardt , Alex Graf , Ilias Apalodimas , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Thu, 30 Sept 2021 at 23:03, AKASHI Takahiro wrote: > > Every time a usb bus/port is scanned and a new device is detected, > we want to call device_probe() as it will give us a chance to run additional > post-processings for some purposes. > > In particular, support for creating partitions on a device will be added. > > Signed-off-by: AKASHI Takahiro > --- > common/usb_storage.c | 6 ++++++ > 1 file changed, 6 insertions(+) Reviewed-by: Simon Glass