usb: udc-core: add is_selfpowered sys entry
authorPeter Chen <peter.chen@freescale.com>
Wed, 28 Jan 2015 08:32:42 +0000 (16:32 +0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 29 Jan 2015 16:35:48 +0000 (10:35 -0600)
commit3f6dd4feda71760c41336963c17b594872346654
tree02b3d5c815ba718581bfcb12da546c9044407bb8
parentdadac9861f466635c3ac0851f2a39be68fa10a71
usb: udc-core: add is_selfpowered sys entry

The user can read it through sys entry.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/udc-core.c