diff options
author | Richard Zhao <richard.zhao@freescale.com> | 2012-09-12 14:58:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-12 11:20:38 -0700 |
commit | 8c4fc031954b4eb72daf13d3c907a985a3eee208 (patch) | |
tree | 0c55afe1e363f14ec6847c3ea8b7d3b1d24e10db /drivers/usb/chipidea/ci.h | |
parent | 984f753cf120db60d97271e34cf16c95761f0278 (diff) | |
download | blackbird-obmc-linux-8c4fc031954b4eb72daf13d3c907a985a3eee208.tar.gz blackbird-obmc-linux-8c4fc031954b4eb72daf13d3c907a985a3eee208.zip |
USB: chipidea: add vbus detect for udc
Using vbus valid interrupt to detect vbus.
Tested-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Tested-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/ci.h')
-rw-r--r-- | drivers/usb/chipidea/ci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipidea/ci.h index d738603a2757..e25d1263da13 100644 --- a/drivers/usb/chipidea/ci.h +++ b/drivers/usb/chipidea/ci.h @@ -139,6 +139,7 @@ struct ci13xxx { enum ci_role role; bool is_otg; struct work_struct work; + struct work_struct vbus_work; struct workqueue_struct *wq; struct dma_pool *qh_pool; |