]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Revert "USB: chipidea: add vbus detect for udc"
authorPeter Chen <peter.chen@freescale.com>
Sat, 30 Mar 2013 00:46:43 +0000 (02:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Mar 2013 03:55:46 +0000 (20:55 -0700)
commit571bb7abac4ed02cf7d5094b4a04a8bdca3783ed
treefc9d287421a3bc8d267a8403e9d254ad3c7968dd
parent19290816c5fa3f289465d24bfbac9d669cc2f061
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>
drivers/usb/chipidea/ci.h
drivers/usb/chipidea/udc.c