From: Grazvydas Ignotas Date: Sun, 17 Mar 2013 18:23:22 +0000 (+0200) Subject: usb: phy: twl4030-usb: ignore duplicate events X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~135^2~63^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca4f70ce78de9a2fa09741f80cf7bda2f4256ecc;p=pandora-kernel.git usb: phy: twl4030-usb: ignore duplicate events In some rare cases we may get multiple interrupts that will generate duplicate omap_musb_mailbox() calls. This is a problem because each VBUS/ID event generates runtime_pm call in OMAP glue code, causing unbalanced gets or puts and breaking PM. The same goes for initial state, glue already defaults to "no cable" state, so only bother it if we have VBUS or ID. Signed-off-by: Grazvydas Ignotas Reviewed-by: Kishon Vijay Abraham I Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed