Revert "usb: gadget: u_ether: move hardware transmit to RX NAPI"
This reverts commit
716fb91dfe1777bd6d5e598f3d3572214b3ed296.
That commit caused a regression which would end up in a kernel
BUG() as below:
[ 101.554300] g_ether gadget: full-speed config #1: CDC Subset/SAFE
[ 101.585186] ------------[ cut here ]------------
[ 101.600587] kernel BUG at include/linux/netdevice.h:495!
[ 101.615850] Internal error: Oops - BUG: 0 [#1] PREEMPT ARM
[ 101.645539] Modules linked in:
[ 101.660483] CPU: 0 PID: 0 Comm: swapper Not tainted 3.15.0-rc1+ #104
[ 101.690175] task:
c05dc5c8 ti:
c05d2000 task.ti:
c05d2000
[ 101.705579] PC is at eth_start+0x64/0x8c
[ 101.720981] LR is at __netif_schedule+0x7c/0x90
[ 101.736455] pc : [<
c0299174>] lr : [<
c036a134>] psr:
60000093
[ 101.736455] sp :
c05d3d18 ip :
c05d3cf8 fp :
c05d3d2c
[ 101.782340] r10:
00000000 r9 :
c196c1f0 r8 :
c196c1a0
[ 101.797823] r7 :
00000000 r6 :
00000002 r5 :
c1976400 r4 :
c1976400
[ 101.828058] r3 :
00000000 r2 :
c05d3ce8 r1 :
00000001 r0 :
00000002
[ 101.858722] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
Reported-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-of-by: Felipe Balbi <balbi@ti.com>