From: Huang Rui Date: Mon, 23 Sep 2013 16:03:43 +0000 (+0800) Subject: usb: usbtest: bmAttributes would better be masked X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~66^2~22^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77a3a0aa39da49499c4029ee8c4227dac362a076;p=pandora-kernel.git 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. Acked-by: Alan Stern Signed-off-by: Huang Rui Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed