Name

usb_urb_ep_type_check — sanity check of endpoint in the given urb

Synopsis

int usb_urb_ep_type_check (const struct urb * urb);
 

Arguments

urb

urb to be checked

Description

This performs a light-weight sanity check for the endpoint in the given urb. It returns 0 if the urb contains a valid endpoint, otherwise a negative error code.