rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_MUTEX - defined

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-21 18:19:17 -05:00
parent 757404fd0e
commit 72ff07da57
3 changed files with 0 additions and 11 deletions

View file

@ -62,7 +62,6 @@
*/ */
#define CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC #define CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC
#define CONFIG_USB_VENDOR_REQ_MUTEX
#define CONFIG_VENDOR_REQ_RETRY #define CONFIG_VENDOR_REQ_RETRY
/* /*

View file

@ -203,14 +203,9 @@ struct dvobj_priv
u8 RtNumInPipes; u8 RtNumInPipes;
u8 RtNumOutPipes; u8 RtNumOutPipes;
int ep_num[5]; //endpoint number int ep_num[5]; //endpoint number
int RegUsbSS; int RegUsbSS;
_sema usb_suspend_sema; _sema usb_suspend_sema;
#ifdef CONFIG_USB_VENDOR_REQ_MUTEX
_mutex usb_vendor_req_mutex; _mutex usb_vendor_req_mutex;
#endif
#ifdef CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC #ifdef CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC
u8 * usb_alloc_vendor_req_buf; u8 * usb_alloc_vendor_req_buf;

View file

@ -25,12 +25,7 @@
#define RTW_USB_CONTROL_MSG_TIMEOUT_TEST 10//ms #define RTW_USB_CONTROL_MSG_TIMEOUT_TEST 10//ms
#define RTW_USB_CONTROL_MSG_TIMEOUT 500//ms #define RTW_USB_CONTROL_MSG_TIMEOUT 500//ms
#if defined(CONFIG_VENDOR_REQ_RETRY) && defined(CONFIG_USB_VENDOR_REQ_MUTEX)
/* vendor req retry should be in the situation when each vendor req is atomically submitted from others */
#define MAX_USBCTRL_VENDORREQ_TIMES 10 #define MAX_USBCTRL_VENDORREQ_TIMES 10
#else
#define MAX_USBCTRL_VENDORREQ_TIMES 1
#endif
#define RTW_USB_BULKOUT_TIME 5000//ms #define RTW_USB_BULKOUT_TIME 5000//ms