Re: [PATCH 4/5 v2] usb: renesas_usbhs: fixup ep_disable when no pipe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Felipe

Thank you for your reply

> > Thank you. this advice taught me the point.  maybe
> > af1d7056a5c1e5eaaf807ddd1423101db84668d0 (usb: gadget: renesas:
> > convert to new style) seems break cable disconnect method on
> > renesas_usbhs.
> 
> maybe, but I doubt that's the culprit. When you disconnect a cable, you
> should get an interrupt on your driver and your interrupt handler should
> call ->disconnect().
(snip)
> > The issue seems be solved if renesas_usbhs driver call
> > driver->disconnect(&gadget) by itself.
> > Is this correct ?
> 
> it depends where exactly you want to call ->disconnect() :-)

Thanks.
my v2 patch (I sent it 2011/11/18) call ->disconnect() in disconnect interrupt.
I hope it is correct method

Best regards
---
Kuninori Morimoto
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux