diff options
author | Peter Chen <peter.chen@freescale.com> | 2013-03-30 02:46:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-29 20:55:46 -0700 |
commit | 571bb7abac4ed02cf7d5094b4a04a8bdca3783ed (patch) | |
tree | fc9d287421a3bc8d267a8403e9d254ad3c7968dd /drivers/usb/chipidea/ci.h | |
parent | 19290816c5fa3f289465d24bfbac9d669cc2f061 (diff) | |
download | blackbird-obmc-linux-571bb7abac4ed02cf7d5094b4a04a8bdca3783ed.tar.gz blackbird-obmc-linux-571bb7abac4ed02cf7d5094b4a04a8bdca3783ed.zip |
Revert "USB: chipidea: add vbus detect for udc"
There are several problems with this patch:
+ in introduces a sparse warning for a condition that's always negative,
+ and because of that, it actually doesn't do anything useful,
+ and vbus detection belongs to otg, not device function anyway.
This reverts commit 8c4fc031954b4eb72daf13d3c907a985a3eee208.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
[Alex: amended the above text]
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, 0 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipidea/ci.h index e25d1263da13..d738603a2757 100644 --- a/drivers/usb/chipidea/ci.h +++ b/drivers/usb/chipidea/ci.h @@ -139,7 +139,6 @@ 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; |