From: Mattijs Korpershoek <mkorpershoek@kernel.org>
To: Ralph Siemsen <ralph.siemsen@linaro.org>,
u-boot@lists.u-boot-project.org
Cc: Lukasz Majewski <lukma@denx.de>,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
Tom Rini <trini@konsulko.com>,
Ralph Siemsen <ralph.siemsen@linaro.org>
Subject: Re: [PATCH] dfu: mtd: probe before get_mtd_device_nm()
Date: Wed, 02 Sep 2026 14:29:55 +0200 [thread overview]
Message-ID: <87ik4nn8e4.fsf@kernel.org> (raw)
In-Reply-To: <20260901-rzn1-2026-10-mtd-v1-1-516e2177cd20@linaro.org>
Hi Ralph,
Thank you for the patch.
On Tue, Sep 01, 2026 at 11:34, Ralph Siemsen <ralph.siemsen@linaro.org> wrote:
> Parsing dfu_alt_info depends on matching MTD device names, so it is
> necessary for all MTD devices to be probed first. Move the existing
> call to mtd_probe_devices() accordingly.
>
> This fixes a failure of the "dfu usb" command that occurs when:
> - dfu_alt_info contains SF devices listed as via MTD
> - there is no persistent environment stored in SF
> - "sf probe" has not been executed prior to "dfu usb"
>
> Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
> ---
prev parent reply other threads:[~2026-09-02 12:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-01 15:34 [PATCH] dfu: mtd: probe before get_mtd_device_nm() Ralph Siemsen
2026-09-02 12:29 ` Mattijs Korpershoek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ik4nn8e4.fsf@kernel.org \
--to=mkorpershoek@kernel.org \
--cc=lukma@denx.de \
--cc=marek.vasut+renesas@mailbox.org \
--cc=ralph.siemsen@linaro.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.u-boot-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.