projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96edc98
)
usb: gadget: udc-core: fix the typo of udc state attribute
author
Rong Wang
<
[email protected]
>
Sun, 28 Jul 2013 15:01:35 +0000
(23:01 +0800)
committer
Felipe Balbi
<
[email protected]
>
Mon, 29 Jul 2013 11:15:38 +0000
(14:15 +0300)
The name of udc state attribute file under sysfs is registered as
"state", while usb_gadget_set_state take it as "status" when it's
going to update. This patch fixes the typo.
Signed-off-by: Rong Wang <
[email protected]
>
Signed-off-by: Barry Song <
[email protected]
>
Cc: <
[email protected]
>
Signed-off-by: Felipe Balbi <
[email protected]
>
drivers/usb/gadget/udc-core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/udc-core.c
b/drivers/usb/gadget/udc-core.c
index c28ac9872030ab1487a4dd74ffb5ee54af950d67..13e25f80fc201f347784ace2f35c7003850f381a 100644
(file)
--- a/
drivers/usb/gadget/udc-core.c
+++ b/
drivers/usb/gadget/udc-core.c
@@
-109,7
+109,7
@@
void usb_gadget_set_state(struct usb_gadget *gadget,
enum usb_device_state state)
{
gadget->state = state;
- sysfs_notify(&gadget->dev.kobj, NULL, "stat
us
");
+ sysfs_notify(&gadget->dev.kobj, NULL, "stat
e
");
}
EXPORT_SYMBOL_GPL(usb_gadget_set_state);