]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c6e2bf075b9fd08fff6591cc99b57e21eab214b
tree9fd2cc1d5b86975c492411b0e67ace78519c64c5
parentc3d987f36bb8cd876de01c1c1460d8152e296e20
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