Skip to content
Commit 640e95ab authored by Eirik Aanonsen's avatar Eirik Aanonsen Committed by Greg Kroah-Hartman
Browse files

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: default avatarEirik Aanonsen <eaa@wprmedical.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 90f79768
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment