usb: chipidea: use hrtimer for otg fsm timers
authorLi Jun <b47624@freescale.com>
Fri, 20 Mar 2015 08:28:06 +0000 (16:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 09:54:39 +0000 (10:54 +0100)
commit3a316ec4c91cfe03093d708369f9ab57000c96c3
tree9fd2cc1d5b86975c492411b0e67ace78519c64c5
parent2f8a467a11aeec61f5077cd337b4efe74847e1d3
usb: chipidea: use hrtimer for otg fsm timers

Current otg fsm timers are using controller 1ms irq and count it, this patch
is to replace it with hrtimer solution, use one hrtimer for all otg timers.

Signed-off-by: Li Jun <jun.li@freescale.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci.h
drivers/usb/chipidea/otg_fsm.c
drivers/usb/chipidea/otg_fsm.h