Home
last modified time | relevance | path

Searched hist:"9 a37a50349c8d6a7adcee21cefae407fb2f8c623" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/misc/
H A Dusbtest.cdiff 9a37a50349c8d6a7adcee21cefae407fb2f8c623 Mon Sep 23 11:03:43 CDT 2013 Huang Rui <ray.huang@amd.com> usb: usbtest: bmAttributes would better be masked

When transfer type is isochronous, the other bits (bits 5..2) of
bmAttributes in endpoint descriptor might not be set zero. So it's better
to use usb_endpoint_type routine to mask bmAttributes with
USB_ENDPOINT_XFERTYPE_MASK to judge the transfter type later.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>