]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/gadget/s3c-hsotg.c
Merge remote-tracking branch 'asoc/topic/tlv320aic3x' into asoc-next
[karo-tx-linux.git] / drivers / usb / gadget / s3c-hsotg.c
index 6bddf1aa23479f388ac101355d500a858d8b02a4..a8a99e4748d522bded4aef1882a7beaafe45603b 100644 (file)
@@ -543,7 +543,7 @@ static int s3c_hsotg_write_fifo(struct s3c_hsotg *hsotg,
         * FIFO, requests of >512 cause the endpoint to get stuck with a
         * fragment of the end of the transfer in it.
         */
-       if (can_write > 512)
+       if (can_write > 512 && !periodic)
                can_write = 512;
 
        /*