[RFC] usb: gadget: f_mass_storage: about behavior of raise_exception() in suspend

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

 



Hi,

I have a question about the behavior.

< Background >
In my environment (R-Car + renesas_usbhs driver), the driver will call usb_gadget_driver->disconnect() in system suspend timing.
 - In case of the ncm driver, it will call usb_ep_disable() via the disconnect().
 - But, in case of the mass_storage driver, it will not call usb_ep_disable().
   This is because the f_mass_storage.c uses send_sig_info() and handle_exception() will be not called during system suspend timing.

If usb_ep_disable() is not called, the renesas_usbhs driver causes an issue.
So, I would like to resolve the issue somehow.

< Question >
- How to resolve this issue?
 - Should I add ep disabling code in the renesas_driver's suspend() anyway?
 - Should I modify the f_mass_storage.c somehow?

Best regards,
Yoshihiro Shimoda

--
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