MLK-22280-2 usb: chipidea: usbmisc: remove mutex
authorLi Jun <jun.li@nxp.com>
Wed, 17 Jul 2019 08:51:20 +0000 (16:51 +0800)
committerLi Jun <jun.li@nxp.com>
Wed, 24 Jul 2019 07:27:09 +0000 (15:27 +0800)
commit6f59f63011b5035c56bfb52180c4269b93b16fa1
tree4d7075a7f5206c6d28adb79860e459848bb80022
parent0f20b7c55f9f6a2246b44e367e26e2183adc3f8f
MLK-22280-2 usb: chipidea: usbmisc: remove mutex

Now charger detection is only for iMX7 which has separated
register area for each instance, register access is protected
by spinlock among APIs, so we can remove the mutex.

Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
drivers/usb/chipidea/usbmisc_imx.c