summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRupesh Gujare <rupesh.gujare@atmel.com>2013-08-23 18:33:30 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-26 06:27:43 -0700
commit00d2a46ca90619d93d913935844c7f456284ab16 (patch)
treee2b315b3adfb21dd845bcaca29dffd8b02d75618 /drivers
parent0f750be948852325f84466d136316ef510e7fd7b (diff)
downloadblackbird-obmc-linux-00d2a46ca90619d93d913935844c7f456284ab16.tar.gz
blackbird-obmc-linux-00d2a46ca90619d93d913935844c7f456284ab16.zip
staging: ozwpan: Increase interrupt end point buffer size
Increase interrupt end point buffer size & convert hard coded value to macro for better readability. Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/ozwpan/ozhcd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c
index 89e498b245e6..16fd60b5f5c7 100644
--- a/drivers/staging/ozwpan/ozhcd.c
+++ b/drivers/staging/ozwpan/ozhcd.c
@@ -74,6 +74,7 @@ struct oz_urb_link {
/* Holds state information about a USB endpoint.
*/
#define OZ_EP_BUFFER_SIZE_ISOC (1024 * 24)
+#define OZ_EP_BUFFER_SIZE_INT 512
struct oz_endpoint {
struct list_head urb_list; /* List of oz_urb_link items. */
struct list_head link; /* For isoc ep, links in to isoc
@@ -1265,7 +1266,7 @@ static int oz_build_endpoints_for_interface(struct usb_hcd *hcd,
buffer_size = OZ_EP_BUFFER_SIZE_ISOC;
break;
case USB_ENDPOINT_XFER_INT:
- buffer_size = 128;
+ buffer_size = OZ_EP_BUFFER_SIZE_INT;
break;
}
}
OpenPOWER on IntegriCloud