Re: [PATCH] usb: gadget: udc_core: Use right kobj when calling sysfs_notify

2014-09-16 Thread Andreas Larsson
On 2014-09-16 07:15, Felipe Balbi wrote: Hi, On Tue, Sep 16, 2014 at 10:02:25AM +0800, Peter Chen wrote: On Mon, Sep 15, 2014 at 12:42:27PM +0200, Andreas Larsson wrote: The state attribute is connected to the kobj of the udc, not the gadget. Signed-off-by: Andreas Larsson --- drivers/usb/

Re: [PATCH] usb: gadget: udc_core: Use right kobj when calling sysfs_notify

2014-09-15 Thread Felipe Balbi
Hi, On Tue, Sep 16, 2014 at 10:02:25AM +0800, Peter Chen wrote: > On Mon, Sep 15, 2014 at 12:42:27PM +0200, Andreas Larsson wrote: > > The state attribute is connected to the kobj of the udc, not the gadget. > > > > Signed-off-by: Andreas Larsson > > --- > > drivers/usb/gadget/udc/udc-core.c |

Re: [PATCH] usb: gadget: udc_core: Use right kobj when calling sysfs_notify

2014-09-15 Thread Peter Chen
On Mon, Sep 15, 2014 at 12:42:27PM +0200, Andreas Larsson wrote: > The state attribute is connected to the kobj of the udc, not the gadget. > > Signed-off-by: Andreas Larsson > --- > drivers/usb/gadget/udc/udc-core.c | 14 +- > 1 file changed, 13 insertions(+), 1 deletion(-) > > d

[PATCH] usb: gadget: udc_core: Use right kobj when calling sysfs_notify

2014-09-15 Thread Andreas Larsson
The state attribute is connected to the kobj of the udc, not the gadget. Signed-off-by: Andreas Larsson --- drivers/usb/gadget/udc/udc-core.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/udc-core.c b/drivers/usb/gadget/udc/udc-core.