Name
usb_pipe_type_check —
sanity check of a specific pipe for a usb device
Arguments
dev
struct usb_device to be checked
pipe
pipe to check
Description
This performs a light-weight sanity check for the endpoint in the
given usb device. It returns 0 if the pipe is valid for the specific usb
device, otherwise a negative error code.