From b659d87e222109552a0b4fdca21407981eb1372a Mon Sep 17 00:00:00 2001 From: David Brownell Date: Thu, 9 Nov 2006 22:19:31 +0200 Subject: [PATCH] musb_hdrc: small fixes, mostly suspend/resume A collection of mostly orthogonal and small fixes: - Update various corner cases in the side suspend/resume code, triggered mostly on the host side: * avoid spurious gadget driver resume callbacks in B_IDLE state * avoid spurious gadget driver suspend callbacks in A_HOST state * cope better with some spurious resume irqs * partial fix for disconnection issues in A_SUSPEND - Resolve some TUSB rmmod races by disabling IRQs at the proper moment, and killing the idle timer. - Only mark TUSB device as wakeup-capable if it's connected to an IRQ which allows that. - Don't idle the TUSB chip until khubd handles all pending port status change events; dump that status in procfs. Signed-off-by: David Brownell --- Reading git-format-patch failed