usb: gadget: fix eem_wrap cloned skb logic
authorNathan Sullivan <nathan.sullivan@ni.com>
Mon, 7 Jul 2014 14:50:14 +0000 (09:50 -0500)
committerFelipe Balbi <balbi@ti.com>
Thu, 10 Jul 2014 13:45:32 +0000 (08:45 -0500)
commitd82aa8aeb0eaa06bad80860a95ca5fdff84e8775
tree5665b867813a66ea58db3be33d2e1a47435f9990
parent029d97ff543219762685805e15d71f7005ad7c5e
usb: gadget: fix eem_wrap cloned skb logic

Even if the skb is cloned, we still need a ZLP or USB will stall.

Signed-off-by: Nathan Sullivan <nathan.sullivan@ni.com>
Acked-by: Brad Mouring <brad.mouring@ni.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_eem.c