]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3ee78f63539350f78dfc93bff0835e238aba284
treea97ef383c695b7321278ec7b8a06e686b5ab4283
parent82cb1decf2f46c436f61a7302c03a3b652205157
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