public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sean Anderson <seanga2@gmail.com>
To: qianfanguijin@163.com, u-boot@lists.denx.de
Cc: lukma@denx.de, marex@denx.de, peter.chen@nxp.com, jun.li@nxp.com,
	peng.fan@nxp.com
Subject: Re: [PATCH] driver: gadget: fastboot: Link endpoint and descriptors
Date: Wed, 3 Nov 2021 12:53:32 -0400	[thread overview]
Message-ID: <ac3775b8-ee26-8346-2f5f-1303ca24c64b@gmail.com> (raw)
In-Reply-To: <20210916070236.26944-1-qianfanguijin@163.com>

On 9/16/21 3:02 AM, qianfanguijin@163.com wrote:
> From: qianfan Zhao <qianfanguijin@163.com>
> 
> If the downloading file size is equal to the partition size, "fastboot
> flash" can't work, at least in sunxi platform, because used an
> uninitalized point: ep->desc.

Hm, I think that usb_ep_ops->enable needs to set ep->desc = desc on success.

Of the existing drivers, only musb-new and mtu3 skip this.

--Sean

  reply	other threads:[~2021-11-03 16:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-16  7:02 [PATCH] driver: gadget: fastboot: Link endpoint and descriptors qianfanguijin
2021-11-03 16:53 ` Sean Anderson [this message]
     [not found] <tencent_81D5019A2AD62FD144C688D4716A817C2608@qq.com>
2021-11-05  6:28 ` qianfan
2021-11-05 13:29   ` Sean Anderson
2021-11-15  5:51     ` qianfan

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=ac3775b8-ee26-8346-2f5f-1303ca24c64b@gmail.com \
    --to=seanga2@gmail.com \
    --cc=jun.li@nxp.com \
    --cc=lukma@denx.de \
    --cc=marex@denx.de \
    --cc=peng.fan@nxp.com \
    --cc=peter.chen@nxp.com \
    --cc=qianfanguijin@163.com \
    --cc=u-boot@lists.denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox