summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/keyspan_usa67msg.h
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@samsung.com>2012-05-04 14:17:08 +0200
committerFelipe Balbi <balbi@ti.com>2012-05-04 15:53:14 +0300
commit12a1f4dc0dfe4c72e565dc02d6a1c021f3f98b61 (patch)
treefa9c3414a5cdc802368f67c05b79a639a10ebba2 /drivers/usb/serial/keyspan_usa67msg.h
parent5e891342fd0761fed36c187587115e706c0fa358 (diff)
usb:hsotg:samsung: Cable disconnection recovery code
This code allows Samsung SoC's to recover its state when device is disconnected and connected during transfer. It is necessary, in such a scenario, to reinitialize the USB core to assure correct initial state of the driver. This operation is needed since the disconnect interrupt is only available at HOST mode, which is not supported by this driver. A simple mechanism with jiffies has been used to perform core reset only once. Tested with: - DFU gadget (various size of the sent data - also packet = MPS) - Ethernet gadget (CDC and RNDIS) - Multi Function Gadget (g_multi) HW: - Samsung's C210 Universal rev.0 Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/serial/keyspan_usa67msg.h')
0 files changed, 0 insertions, 0 deletions