]> git.baikalelectronics.ru Git - kernel.git/commit
USB: s3c-hsotg: Only load packet per fifo write
authorBen Dooks <ben-linux@fluff.org>
Mon, 19 Jul 2010 08:40:45 +0000 (09:40 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 21:35:42 +0000 (14:35 -0700)
commitccb9c6b0ca0cb4e1c3a4429f9345c4cb396a2f1a
treeef2bce4b63f9ba1811b8ef89bc8b08d85b01e838
parentdeb7d1379981f1af9acd636f4cc9dab32136ba34
USB: s3c-hsotg: Only load packet per fifo write

Limit the IN FIFO write to a single packet per attempt at writing,
as per the specifications and ensure that we don't return fifo-full
so that we can continue writing packets if we have the space.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/s3c-hsotg.c