diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2013-12-06 12:03:45 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-12-12 19:43:35 (GMT) |
commit | b963a81a4803fb387d6551ea0fb66876e0c8ff12 (patch) | |
tree | e01f177d140b9555d1b9bdf75f713414679404b3 /lib/kobject_uevent.c | |
parent | 295538ff7e5389d5aee5845c548f114b793d60c9 (diff) | |
download | linux-b963a81a4803fb387d6551ea0fb66876e0c8ff12.tar.xz |
usb: gadget: s3c-hsotg: add flush TX FIFO when kill all requests
This patch adds flushing TX FIFO in kill_all_requests() function in
dedicated-fifo mode. It's because when requests are killed (when endpoint is
disabled or in case of device reset/disconnection) in FIFO can stay some
unsent data. In the worst case FIFO can stay full, and then if endpoint will
be back enabled, sending new data will be impossible.
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>
Diffstat (limited to 'lib/kobject_uevent.c')
0 files changed, 0 insertions, 0 deletions