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

> >  1) insmod g_mass_storage.ko
> >  2) connect cable
> >  3) disconnect cable
> 
> aren't you lacking something here ? Whenever the cable is disconnected,
> you should signal that to gadget driver so that it has the oportunity to
> cancel pending transfers and disable endpoints.

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.

The issue seems be solved if renesas_usbhs driver call
driver->disconnect(&gadget) by itself.
Is this correct ?

If so, I will re-send my v2 patch set.

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