OSDN Git Service

usb: gsi: Capture USB GSI endpoint operations
authorMayank Rana <mrana@codeaurora.org>
Thu, 8 Dec 2016 23:39:19 +0000 (15:39 -0800)
committerGerrit - the friendly Code Review server <code-review@localhost>
Sat, 18 Feb 2017 01:49:44 +0000 (17:49 -0800)
commitccb139843c1989b9acbc8228192b84b7813d52d4
tree34ea27182d490a348b14353e6024807056e5d3d8
parent96b6f68843af076b0c4dc111355adb6fd84de0a8
usb: gsi: Capture USB GSI endpoint operations

In some cases it has been observed that after sending STARTXFER
command with USB GSI IN endpoint, USB controller is accessing zero
address resulting into bus error. This change captures USB GSI
operation sequence in debug buffer which may help to understand
race condition in terms of USB gadget events and USB GSI endpoint
operations.

Change-Id: Ia46877bb92ea0cc1d5f3712e5c70bb44232d5cfe
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
drivers/usb/gadget/function/f_gsi.c