usb: composite gadget: set vbus_draw current limitation during suspend
authorHao Wu <hao.wu@intel.com>
Mon, 29 Nov 2010 07:17:03 +0000 (15:17 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 1 Dec 2010 00:46:34 +0000 (16:46 -0800)
commitb23f2f94136884ebeb1b5e2196f4a53086444afa
tree3c5195b1e5750c45377ba07b979ddd42234a3f4e
parentc3d6450e741da08c3bc2e2ba06d743c27540abac
usb: composite gadget: set vbus_draw current limitation during suspend

This patch modifies the composite gadget to set vbus_draw current limitation
during suspend state. This current limitation in suspend state shouldn't be
more than 2.5mA

Signed-off-by: Hao Wu <hao.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/composite.c