usb: gadget: s3c-hsotg: fix s3c_hsotg_write_fifo function for dedicated fifo mode
authorRobert Baldyga <r.baldyga@samsung.com>
Thu, 19 Sep 2013 09:50:18 +0000 (11:50 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 15 Oct 2013 13:43:22 +0000 (08:43 -0500)
commit5cb2ff0cdd60aef07c592a9d09349b5993fdf9b4
tree69e287ebeec75718665cf26329e17ba7f6288af5
parentab93e014f35374a8169b0f465fccee69e04ea34c
usb: gadget: s3c-hsotg: fix s3c_hsotg_write_fifo function for dedicated fifo mode

In s3c_hsotg_write_fifo function PTxFEmp/NPTxFEmp interrupts are enabled
only in shared-fifo mode. In dedicated-fifo mode they should not be used
(when enabled then cause interrupt storm).

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c-hsotg.c