usb: phy: Handle per-PHY event for connnect and disconnect events
authorKiran Raparthy <kiran.kumar@linaro.org>
Mon, 24 Nov 2014 17:24:59 +0000 (22:54 +0530)
committerFelipe Balbi <balbi@ti.com>
Tue, 25 Nov 2014 14:47:05 +0000 (08:47 -0600)
commitb20f3f9e8e537ee25bfb86940903cba4b5abbde6
treee5ff093ca23c06881f6d469e9e0a76fd78c1bd96
parentf415fbd17f0438913339fd043779f306ee3587b0
usb: phy: Handle per-PHY event for connnect and disconnect events

When usb is connected and enumerated in device mode or when
usb is disconnected, call usb_phy_set_event() from phy drivers
to handle per-PHY event.

[ toddpoynor@google.com : Original patch in Android ]

Cc: Felipe Balbi <balbi@ti.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Cc: Android Kernel Team <kernel-team@android.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Arve Hjønnevåg <arve@android.com>
Cc: Benoit Goby <benoit@android.com>
Cc: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Kiran Raparthy <kiran.kumar@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-ab8500-usb.c
drivers/usb/phy/phy-gpio-vbus-usb.c
drivers/usb/phy/phy-mv-usb.c
drivers/usb/phy/phy-tahvo.c