summaryrefslogtreecommitdiffstats
path: root/include/linux/usb/ch9.h
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2009-01-24 23:59:38 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-24 16:20:27 -0700
commitee069fb1185895e725ad942c7a529f947e25166d (patch)
tree0aba6c381156e151d7153b79f2497c3cdce9259f /include/linux/usb/ch9.h
parent7fec3c25b773883bd50c4078bcccdd23d3dadeac (diff)
USB: pxa27x_udc: add vbus_draw callback
Add the vbus_draw() callback to inform the transceiver, if it exists, how much current may be drawn. The decision is taken on gadget driver side using the configuration chosen by the host and its bMaxPower field. Some systems can use the host's VBUS supply to augment or recharge a battery. (There's also a default of 100 mA for unconfigured devices, or 8 mA if they're OTG devices.) Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usb/ch9.h')
0 files changed, 0 insertions, 0 deletions