number of allocated requests for certain gadget driver

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

 



Hi,

Is there any factor which decides "how may requests should be
allocated for certain endpoint?"
for. ex,  most of gadget driver's have a kind of for loop like

for (i=0; i < number_of_requests; i ++) {
usb_ep_alloc_request(ep, GFP_ATOMIC);
}

so, which factor decides what should be the value of
"number_of_requests" in above for loop, if we want to write a new
gadget driver?
Thanks for the help.

Thanks and Regards,
Shivdas
--
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