usb: chipidea: update ci_otg_is_fsm_mode conditions
authorLi Jun <jun.li@freescale.com>
Thu, 9 Jul 2015 07:18:46 +0000 (15:18 +0800)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 Jul 2015 14:59:21 +0000 (09:59 -0500)
commitb0930d4cafb487a663ac6780a0369d1a0f461bc2
tree155c859d0e0b28c190b1345ab7ef8777de95903f
parent79742351c89b76ebcf82b73103aed50f98ac2ee4
usb: chipidea: update ci_otg_is_fsm_mode conditions

After introduce usb otg properties, update ci_otg_is_fsm_mode conditions
to be depending on both usb hardware properties and usb driver config,
also resolve a compile issue in debug.c after the API change.

Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Li Jun <jun.li@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/chipidea/ci.h
drivers/usb/chipidea/debug.c