usb: s3c-hsotg: Fix TX FIFOs allocation
authorAnton Tikhomirov <av.tikhomirov@samsung.com>
Tue, 6 Mar 2012 05:05:49 +0000 (14:05 +0900)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Apr 2012 16:11:44 +0000 (19:11 +0300)
commitf7a83fe19336125d7eb26488788dc66c03f2c08e
treeacad855cd590802ff2ff8d6122cfadb8a17db7b5
parentf79a60b8785409f5a77767780315ce6d3ea04a44
usb: s3c-hsotg: Fix TX FIFOs allocation

According to documentation, TX FIFO_number index starts from 1.
For IN endpoint FIFO 0 we use GNPTXFSIZ register for programming
the size and memory start address.

Signed-off-by: Anton Tikhomirov <av.tikhomirov@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c-hsotg.c