mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-09 23:19:39 +00:00
rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_MUTEX - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
757404fd0e
commit
72ff07da57
3 changed files with 0 additions and 11 deletions
|
@ -62,7 +62,6 @@
|
|||
*/
|
||||
#define CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC
|
||||
|
||||
#define CONFIG_USB_VENDOR_REQ_MUTEX
|
||||
#define CONFIG_VENDOR_REQ_RETRY
|
||||
|
||||
/*
|
||||
|
|
|
@ -203,14 +203,9 @@ struct dvobj_priv
|
|||
u8 RtNumInPipes;
|
||||
u8 RtNumOutPipes;
|
||||
int ep_num[5]; //endpoint number
|
||||
|
||||
int RegUsbSS;
|
||||
|
||||
_sema usb_suspend_sema;
|
||||
|
||||
#ifdef CONFIG_USB_VENDOR_REQ_MUTEX
|
||||
_mutex usb_vendor_req_mutex;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC
|
||||
u8 * usb_alloc_vendor_req_buf;
|
||||
|
|
|
@ -25,12 +25,7 @@
|
|||
#define RTW_USB_CONTROL_MSG_TIMEOUT_TEST 10//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
|
||||
#else
|
||||
#define MAX_USBCTRL_VENDORREQ_TIMES 1
|
||||
#endif
|
||||
|
||||
#define RTW_USB_BULKOUT_TIME 5000//ms
|
||||
|
||||
|
|
Loading…
Reference in a new issue