usb: gadget: defer setting maxpacket till ->setup()
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 23 Feb 2015 13:10:17 +0000 (18:40 +0530)
committerMarek Vasut <marex@denx.de>
Tue, 14 Apr 2015 03:48:11 +0000 (05:48 +0200)
commit04afd5b59b2edcb0bd035f126bdbe27c31782772
treed9f0e79579037342c0281c6c4ce48079f3c62100
parent5b9ce0e28a5262ff7b8fca98b888669881174bf9
usb: gadget: defer setting maxpacket till ->setup()

Taken from linux kernel with commit
commit 765f5b830e547229bb752e7b232ee83e2b3d49d5
Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date:   Thu Jun 23 14:26:11 2011 +0200

usb: gadget: defer setting maxpacket till ->setup()

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/usb/gadget/composite.c
drivers/usb/gadget/ether.c