From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 10 Sep 2015 01:20:33 +0200 Subject: [U-Boot] [PATCH V2] usb: gadget: ci_udc: implement usb_ep_ops dequeue callback In-Reply-To: References: <1440724830-17915-1-git-send-email-Peng.Fan@freescale.com> Message-ID: <201509100120.33449.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday, September 10, 2015 at 01:04:23 AM, Fabio Estevam wrote: > On Thu, Aug 27, 2015 at 10:20 PM, Peng Fan 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 Applied, thanks! Best regards, Marek Vasut