MLK-17261-2 usb: chipidea: imx: do not call hsic callback for non-hsic controller
authorPeter Chen <peter.chen@nxp.com>
Thu, 21 Dec 2017 01:06:40 +0000 (09:06 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:52:02 +0000 (14:52 -0500)
commit7e12c5dffa45461c85d44989a7c1c943e02c05d5
tree5cb8e1263b9db7c22cfae4588743c963cf868e25
parent903ae6416934c14b06e674a4d890079aca4b2f40
MLK-17261-2 usb: chipidea: imx: do not call hsic callback for non-hsic controller

With this judgement, the non-hsic controller will access wrong registers,
and below error message will be showed:
"usbmisc_imx 2184800.usbmisc: index is error for usbmisc"

Fixes: 113be1516160 ("MLK-16715-6 usb: chipidea: imx:
add HSIC support for controllers from imx7d")
Reported-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/ci_hdrc_imx.c
drivers/usb/chipidea/usbmisc_imx.c