]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: udc_core: Use right kobj when calling sysfs_notify
authorAndreas Larsson <andreas@gaisler.com>
Mon, 15 Sep 2014 10:42:27 +0000 (12:42 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 16 Sep 2014 15:01:45 +0000 (10:01 -0500)
commite09e6922fa78415ec1f6691c282cd0c06f90bc31
treeeca3296c54fb2a6c81e557a61334526e90efbe77
parentc9bd1a2fad505cb29ed03f02841bb3350ac1b11e
usb: gadget: udc_core: Use right kobj when calling sysfs_notify

The state attribute is connected to the kobj of the udc, not the gadget.

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