]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6bf27b3edd372fbb3b185a63a4ddbb0ad476c67b
treeacad855cd590802ff2ff8d6122cfadb8a17db7b5
parentd2eb120671dab18d7abc62d8ef46f6cc3082df6b
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