]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: dsps: kill OTG timer on suspend
authorFelipe Balbi <balbi@ti.com>
Mon, 15 Sep 2014 14:03:24 +0000 (09:03 -0500)
committerFelipe Balbi <balbi@ti.com>
Tue, 16 Sep 2014 15:01:44 +0000 (10:01 -0500)
commitc9bd1a2fad505cb29ed03f02841bb3350ac1b11e
tree680f07cd99ba8900cb21218590d1cac669e33287
parent289c11905a05b81baf5f69530b752b916af6f601
usb: musb: dsps: kill OTG timer on suspend

if we don't make sure to kill the timer, it could
expire after we have already gated our clocks.

That will trigger a Data Abort exception because
we would try to access register while clock is gated.

Fix that bug.

Cc: <stable@vger.kernel.org> # v3.14+
Fixes 9c7e45a (usb: musb: dsps: add support for suspend and resume)
Tested-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_dsps.c