usb_urb_ep_type_check — sanity check of endpoint in the given urb
int usb_urb_ep_type_check (
)
urb
urb to be checked
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.