]> nv-tegra.nvidia Code Review - linux-4.9.git/commit
usb: gadget: xudc: not unhalt ep in unhalted
authorHenry Lin <henryl@nvidia.com>
Wed, 18 Jul 2018 17:35:08 +0000 (01:35 +0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 25 Sep 2018 22:04:19 +0000 (15:04 -0700)
commit065839ff2f0bfa9a51e785b5085d9d7bd254e240
treea3363a3f647f7d3f031bfe3e7712d519b3224994
parentb18024969b898bf201da6bd2eb2fcb9780f2a24c
usb: gadget: xudc: not unhalt ep in unhalted

Unhalt ep is not necessary if ep is already in unhalted state. And, it
will cause racing between ep reload in device side and ep transfer
request from host side and results in the ep stuck in flow control
state. Removed unhalt ep in unhalted state here to avoid the racing.

Bug 200420663

Change-Id: I0dabe91aa5b864b7f1bb73d7c8bb2ea1150efd5f
Signed-off-by: Henry Lin <henryl@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1781018
(cherry picked from commit bfb2eab210d8477af49a542621f343055dd696a0)
Reviewed-on: https://git-master.nvidia.com/r/1801778
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/usb/gadget/udc/tegra_xudc.c