]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitb3864cedfb576e11d2f9274f14a24840d8b569c3
tree0aa873cdb6c3a87ea33b20feb3598628ef3fe2cf
parente7a9ff54271bf0ddbf641e5a0bde3ebda35808be
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