When writing the USB endpoint register, USB_EP_RX_CTR (bit 15) and USB_EP_TX_CTR (bit 7) should be set to avoid inadvertently clearing either bit. Prior to this patch end points could indefinately stall if the hardware changed these bits between the time they are read and when they were written. Signed-off-by: George McCollister <george.mccollister@gmail.com>