From: Gerard CAUVY Date: Thu, 24 May 2012 09:47:36 +0000 (+0300) Subject: usb: dwc3: gadget: move AcceptU1Ena and AcceptU2Ena to Reset IRQ X-Git-Tag: v3.6-rc1~101^2~53^2~27^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cbe8c220c1e126dd0855ad57fe4491b267132b9;p=pandora-kernel.git usb: dwc3: gadget: move AcceptU1Ena and AcceptU2Ena to Reset IRQ According to the databook, the DWC3 Core will reset those bits to 0 on USB Bus Reset. This means we must re-enable those bits on every reset interrupt. Because we will always get a Reset interrupt after loading a gadget driver, we can, instead of re-enabling something that was just lost, move the handling of those bits to the Reset Interrupt. This patch fixes USB30CV U1/U2 Test. Signed-off-by: Gerard CAUVY Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed