USB: s3c-hsotg: Ensure TX FIFO addresses setup when initialising FIFOs
authorBen Dooks <ben-linux@fluff.org>
Tue, 25 May 2010 04:36:50 +0000 (05:36 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Jun 2010 20:16:19 +0000 (13:16 -0700)
commit0f002d200598918f5058dfcfda3da46f29019765
tree734136aaeb72c3e0094dfa9078ad9976c3215e4f
parent0287e43dda1a425da662f879dd27352021b0ca63
USB: s3c-hsotg: Ensure TX FIFO addresses setup when initialising FIFOs

Some versions of the S3C HS OtG block startup with overlapping TX FIFO
information, so change the fifo_init code to ensure that known values
are set into the FIFO registers at initialisation/reset time.

This also ensures that the FIFO RAM pointers are in a known state
before use.

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