usb: chipidea: clear otg interrupt status for otg capable controller
authorPeter Chen <peter.chen@freescale.com>
Wed, 11 Feb 2015 04:44:51 +0000 (12:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 15:19:09 +0000 (16:19 +0100)
commit2e37cfd8e0a0bb161a75ce2bc2302a1a1662fdb7
treeaeb71ea89c3ceaa076969ecd410fca615c6ef29b
parent01e3ad863fc0f15b802c8a5247e1c252bd04f429
usb: chipidea: clear otg interrupt status for otg capable controller

We need to do it for all otg capable controller, not only peripheral
featured otg capable controller, otherwise, the host-only role, but
otg capable controller may be responded by otg interrupt.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c