From: Eirik Aanonsen Date: Fri, 5 Feb 2010 08:49:25 +0000 (+0100) Subject: USB: atmel uaba: Adding invert vbus_pin X-Git-Tag: v2.6.34-rc1~215^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=640e95abdfae9fef5949084c92e80c8f2f8b5ec5;p=pandora-kernel.git USB: atmel uaba: Adding invert vbus_pin Adding vbus_pin_inverted so that the usb detect pin can be active high or low depending on HW implementation also replaced the gpio_get_value(udc->vbus_pin); with a call to vbus_is_present(udc); This allows the driver to be loaded and save about 0,15W on the consumption. Signed-off-by: Eirik Aanonsen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed