mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 19:41:54 +00:00
7f67c38bdc
This patch changes the setup of the endpoint maxpacket size. All non control endpoints are initialized with an undefined ((unsigned short)~0) maxpacket size. The maxpacket size of Endpoint 0 will be kept at CTRL_PAYLOAD_MAX. Some gadget drivers check for the maxpacket size before they enable the endpoint, which leads to a wrong state in these drivers. Cc: stable <stable@vger.kernel.org> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
bits.h | ||
ci13xxx_imx.c | ||
ci13xxx_msm.c | ||
ci13xxx_pci.c | ||
ci.h | ||
core.c | ||
debug.c | ||
debug.h | ||
host.c | ||
host.h | ||
Kconfig | ||
Makefile | ||
udc.c | ||
udc.h |