Enrico Scholz <enrico.scholz@xxxxxxxxxxxxxxxxx> writes: > Although the read_packet() function is called both for ep0 and epX > endpoints, there happens an access on UDCCSR_PC which is not available > for ep0. > > This patch clears the packet-ready bit in the read_fifo() method and > adds a sanity check that this function is not called for ep0. > > Signed-off-by: Enrico Scholz <enrico.scholz@xxxxxxxxxxxxxxxxx> Acked-by: Robert Jarzmik <robert.jarzmik@xxxxxxx> As a side note, have you tested that ? Is yes, and if the UDC still works correctly, this patch could be a candidate for the 'fix' tree. Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html