]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: New functions to check endpoints info.
authorLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Wed, 27 Sep 2006 18:58:53 +0000 (11:58 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:53 +0000 (11:58 -0700)
commitb7cfaaaf86571732c7728e95a2231a860385463c
tree42faec6a06598baafc16639d4e367457edbc555a
parent3d5b2510f6e361e2203e163c03b93d0026de5629
USB: New functions to check endpoints info.

These functions makes USB driver's code simpler when dealing with endpoints
by avoiding them from accessing the endpoint's descriptor structure directly
when they only need to know the endpoint's transfer type and/or
direction.

Please, read each functions' documentation in order to know how to use
them.

Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/usb.c
include/linux/usb.h