OSDN Git Service

Merge "icnss: Add debug support of configuring QMI timeout"
authorLinux Build Service Account <lnxbuild@localhost>
Sat, 24 Sep 2016 09:00:57 +0000 (02:00 -0700)
committerGerrit - the friendly Code Review server <code-review@localhost>
Sat, 24 Sep 2016 09:00:56 +0000 (02:00 -0700)
1  2 
drivers/soc/qcom/icnss.c

  
  #include "wlan_firmware_service_v01.h"
  
+ #ifdef CONFIG_ICNSS_DEBUG
+ unsigned long qmi_timeout = 3000;
+ module_param(qmi_timeout, ulong, 0600);
+ #define WLFW_TIMEOUT_MS                       qmi_timeout
+ #else
  #define WLFW_TIMEOUT_MS                       3000
+ #endif
  #define WLFW_SERVICE_INS_ID_V01               0
 +#define WLFW_CLIENT_ID                        0x4b4e454c
  #define MAX_PROP_SIZE                 32
  #define NUM_LOG_PAGES                 10
  #define NUM_REG_LOG_PAGES             4