usb: cdns3: ep0: delete the unnecessary operation
authorPeter Chen <peter.chen@nxp.com>
Wed, 22 Jul 2020 04:29:52 +0000 (12:29 +0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 24 Jul 2020 13:45:12 +0000 (16:45 +0300)
commit33c4b00b85a9855de47e498a15e21515320cc442
treea97ef383c695b7321278ec7b8a06e686b5ab4283
parentae90cc8237bf4ee416a326c51052ddcc7918ee43
usb: cdns3: ep0: delete the unnecessary operation

It doesn't need to enable/disable L1 on the fly for EP0 transfer,
we only need to enable L1 after SET_CONFIGURATION.

This code may be introduced by careless.

Cc: 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