]> git.dujemihanovic.xyz Git - u-boot.git/commit
USB-CDC: called handle_interrupts inside usb_eth_send
authorStefano Babic <sbabic@denx.de>
Sun, 15 Aug 2010 12:19:00 +0000 (14:19 +0200)
committerRemy Bohmer <linux@bohmer.net>
Mon, 20 Sep 2010 19:57:17 +0000 (21:57 +0200)
commita170f2c7973728f2e9e1b66214b0c14062c78398
tree84b9b6352be3c01adf2da029b7eaa150bae6bb3d
parent80460772197ea33d9e0023b1c359f5916a760fa1
USB-CDC: called handle_interrupts inside usb_eth_send

The patch removes an endless loop  in the usb_eth_send
if the tx_complete is not called before going
in the loop. The driver interrupt routine is called
allowing the driver to check if the TX is completed.

Signed-off-by: Stefano Babic <sbabic@denx.de>
drivers/usb/gadget/ether.c