From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2] usb: gadget: ci_udc: implement usb_ep_ops dequeue callback
Date: Thu, 10 Sep 2015 01:20:33 +0200 [thread overview]
Message-ID: <201509100120.33449.marex@denx.de> (raw)
In-Reply-To: <CAOMZO5Ag7gsWdiQ6T8zQDf1ArC3tgOe9cCz0stQuDrt+t3hR6w@mail.gmail.com>
On Thursday, September 10, 2015 at 01:04:23 AM, Fabio Estevam wrote:
> On Thu, Aug 27, 2015 at 10:20 PM, Peng Fan <Peng.Fan@freescale.com> wrote:
> > Implement endpoint dequeue callback function.
> >
> > Without this function, uboot will hang when executing fastboot comamnd.
> > See following flow:
> > "fastboot_tx_write_str->fastboot_tx_write->usb_ep_dequeue->ep->ops->deque
> > ue" without implement ci_udc dequeue function, ep->ops->dequeue is NULL,
> > then uboot will hang.
> >
> > Tested on mx6qsabresd board with fastboot enabled.
>
> Managed to get fastboot working with this patch applied, thanks.
>
> $ fastboot getvar bootloader-version -i 0x0525
> bootloader-version: U-Boot 2015.10-rc2-23960-g2462cce-dirty
> finished. total time: 0.000s
>
> $ fastboot reboot -i 0x0525 --> board reboots fine.
>
> Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Applied, thanks!
Best regards,
Marek Vasut
prev parent reply other threads:[~2015-09-09 23:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-28 1:20 [U-Boot] [PATCH V2] usb: gadget: ci_udc: implement usb_ep_ops dequeue callback Peng Fan
2015-08-29 13:57 ` Marek Vasut
2015-09-09 23:04 ` Fabio Estevam
2015-09-09 23:20 ` Marek Vasut [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=201509100120.33449.marex@denx.de \
--to=marex@denx.de \
--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