diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2009-01-24 23:59:38 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-24 16:20:27 -0700 |
commit | ee069fb1185895e725ad942c7a529f947e25166d (patch) | |
tree | 0aba6c381156e151d7153b79f2497c3cdce9259f /drivers/ieee1394/sbp2.c | |
parent | 7fec3c25b773883bd50c4078bcccdd23d3dadeac (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 'drivers/ieee1394/sbp2.c')
0 files changed, 0 insertions, 0 deletions