qcacmn: Add extra parameters to gpio command
Add extra parameters to gpio wmi command since they are required for smart antenna config. Change-Id: I3b363c7b508862ded8aacffb9e0a39328e8b2b94
This commit is contained in:

committed by
snandini

parent
de94037c5f
commit
a90712e15d
@@ -59,7 +59,8 @@ QDF_STATUS tgt_set_gpio_output_req(struct wlan_objmgr_psoc *psoc,
|
||||
|
||||
QDF_STATUS tgt_gpio_config(struct wlan_objmgr_psoc *psoc, uint32_t gpio_num,
|
||||
uint32_t input, uint32_t pull_type,
|
||||
uint32_t intr_mode)
|
||||
uint32_t intr_mode, uint32_t mux_config_val,
|
||||
uint32_t drive, uint32_t init_enable)
|
||||
{
|
||||
struct gpio_config_params param;
|
||||
|
||||
@@ -73,6 +74,9 @@ QDF_STATUS tgt_gpio_config(struct wlan_objmgr_psoc *psoc, uint32_t gpio_num,
|
||||
param.pin_num = gpio_num;
|
||||
param.pin_dir = input;
|
||||
param.pin_intr_mode = intr_mode;
|
||||
param.mux_config_val = mux_config_val;
|
||||
param.drive = drive;
|
||||
param.init_enable = init_enable;
|
||||
|
||||
return tgt_set_gpio_config_req(psoc, ¶m);
|
||||
}
|
||||
|
Reference in New Issue
Block a user