USB: gadget: tegra: SW WAR for dTD issue
authorKrishna Yarlagadda <kyarlagadda@nvidia.com>
Mon, 18 Jun 2012 15:09:34 +0000 (20:09 +0530)
committerSimone Willett <swillett@nvidia.com>
Fri, 27 Jul 2012 22:36:06 +0000 (15:36 -0700)
commit5c84dc32d54f8bbda99f8a4e1fd7300e6b5a50b3
tree4cb4c16d6408c2b03d40da303ec61cebbf9c773d
parent7e7cb6ad913a379204c1858d2a409fa748592895
USB: gadget: tegra: SW WAR for dTD issue

SW WAR implementation for h/w issue observed on all tegra platforms
Adding a dTD to a Primed Endpoint May Not Get Recognized

TD freeing will be delayed until next TD is completed

Bug 1002166

Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/109562
(cherry picked from commit 8603480606af20444ed91e3010a22cc02edacb78)

Change-Id: I875d06eb2db78a18858590645df631478f3201bb
Reviewed-on: http://git-master/r/116972
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Tested-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
drivers/usb/gadget/tegra_udc.c
drivers/usb/gadget/tegra_udc.h