]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: udc-core: fix the typo of udc state attribute
authorRong Wang <Rong.Wang@csr.com>
Sun, 28 Jul 2013 15:01:35 +0000 (23:01 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 11:15:38 +0000 (14:15 +0300)
commit4098b1f0c72fe6bc9c9da73eaa8f89ebe4fc666e
tree7a721ca2dddbd8c82835be6a12a608c585e5b4d5
parentf54cb0d58d1a8e64364c348b430415abb15e3388
usb: gadget: udc-core: fix the typo of udc state attribute

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 <Rong.Wang@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Cc: <stable@kernel.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc-core.c