usb: gadget: udc-core: anywone can read 'speed' attributes
authorFelipe Balbi <balbi@ti.com>
Tue, 26 Feb 2013 17:15:14 +0000 (19:15 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:17:56 +0000 (11:17 +0200)
commita5fcb066d284d8e525e1e1a4799722e8616cfe76
tree5a1614c85ffe64cc597ae8ecfddcc636c3caa382
parentddf47ccbfebc12add813cf729ecfc2d5ab59ca19
usb: gadget: udc-core: anywone can read 'speed' attributes

current code only allows the file owner (usually
root) to read current_speed and maximum_speed
sysfs files. Let anyone read those.

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