]> git.baikalelectronics.ru Git - kernel.git/commit
USB: s3c-hsotg: Re-initialise all FIFOs on USB bus reset
authorBen Dooks <ben-linux@fluff.org>
Mon, 19 Jul 2010 08:40:43 +0000 (09:40 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 21:35:42 +0000 (14:35 -0700)
commitb4fe49560d7c7c4ba1c674308ee1c9ab34d50608
tree0aa873cdb6c3a87ea33b20feb3598628ef3fe2cf
parentaac729ae0f8521debc07199eca962037f947e747
USB: s3c-hsotg: Re-initialise all FIFOs on USB bus reset

The USB documentation suggest that the FIFOs should be reset when a
bus reset event happens. Use the s3c_hsotg_init_fifo() to ensure that
the FIFO layout is correct and that the FIFOs are flushed before
acknowledging the reset.

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