how OUT/IN request from host are propogated on gadget side

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

 



Hi,

I am looking at gadget driver code.
I have a question understanding how OUT/IN request, sent by USB host, travels on Gadget Side Stack. The requests will be received in terms of OUT/IN token by gadget controller hardware. Gadget controller driver will receive an interrupt for the same. What happens afterwards ? In any case, gadget controller driver should notify gadget side driver about such request. But, I do not see any such mechanism.

Going through, file_storage.c, I do see that gadget driver always polls for any OUT/IN request. Is it the *only* mechanism ?
Is there any other in-kernel mechanism through which gadget controller driver can notify about OUT/IN request to gadget driver ?

Thanks,
Viral

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

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