]> git.baikalelectronics.ru Git - kernel.git/commit
usb: cdns3: ep0: delete the redundant status stage
authorPeter Chen <peter.chen@nxp.com>
Sun, 26 Apr 2020 13:07:51 +0000 (21:07 +0800)
committerFelipe Balbi <balbi@kernel.org>
Mon, 25 May 2020 08:09:44 +0000 (11:09 +0300)
commit7f27e7bb279dca95b45f24270c6e9f0733d384cf
treef530466a1d2da6834d9b6f97f5dbca6654c8f6a1
parent3322b6846a8cd8b65b10ba4860d26acc7b399050
usb: cdns3: ep0: delete the redundant status stage

Each setup stage will prepare status stage at cdns3_ep0_setup_phase,
it doesn't need to add extra status stage for test mode handling,
otherwise, the controller can't enter the test mode. Through the Lecroy
bus analyzer log, the controller will always wait status stage
even it is prepared by software later than the test mode is set
by software. If we comment out the status stage at cdns3_ep0_setup_phase,
the controller will not enter test mode even the test mode is set
beforehand.

Reviewed-by: Pawel Laszczak <pawell@cadence.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/cdns3/ep0.c