* [PATCH 3/4] tm6000: Use mask when getting XFERTYPE from bmAttributes
@ 2009-04-05 0:46 Kevin Wells
0 siblings, 0 replies; only message in thread
From: Kevin Wells @ 2009-04-05 0:46 UTC (permalink / raw)
To: Steven Toth; +Cc: linux-media
# HG changeset patch
# User Kevin Wells <kevin.wells@kahusoft.com>
# Date 1238885144 -43200
# Node ID 02d3a231b99e1eef922679f1381eecd0b9990d23
# Parent 3140e621a17b536eb1487f8f9ad5b7b6a8ff8341
Use mask when getting XFERTYPE from bmAttributes
From: Kevin Wells <kevin.wells@kahusoft.com>
Priority: normal
Signed-off-by: Kevin Wells <kevin.wells@kahusoft.com>
diff -r 3140e621a17b -r 02d3a231b99e
linux/drivers/media/video/tm6000/tm6000-cards.c
--- a/linux/drivers/media/video/tm6000/tm6000-cards.c Sat Apr 04
23:39:18 2009 +1300
+++ b/linux/drivers/media/video/tm6000/tm6000-cards.c Sun Apr 05
10:45:44 2009 +1200
@@ -446,7 +446,7 @@
interface->altsetting[i].desc.bInterfaceNumber,
interface->altsetting[i].desc.bInterfaceClass);
- switch (e->desc.bmAttributes) {
+ switch (e->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) {
case USB_ENDPOINT_XFER_BULK:
if (!dir_out) {
get_max_endpoint (usbdev, "Bulk IN", e,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-05 0:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-05 0:46 [PATCH 3/4] tm6000: Use mask when getting XFERTYPE from bmAttributes Kevin Wells
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.