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)
commit8b5b9adbff131bf0c809696474f7a24409b4da63
treef530466a1d2da6834d9b6f97f5dbca6654c8f6a1
parent65dc2e725286106f99c6f6b78e3d9c52c15f3a9c
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