|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
|
|
|
*
|
|
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
@@ -34,11 +34,11 @@ convert_gpio_direction(enum gpio_direction dir)
|
|
|
{
|
|
|
switch (dir) {
|
|
|
case WMI_HOST_GPIO_INPUT:
|
|
|
- return 0;
|
|
|
+ return WMI_FW_GPIO_INPUT;
|
|
|
case WMI_HOST_GPIO_OUTPUT:
|
|
|
- return 1;
|
|
|
+ return WMI_FW_GPIO_OUTPUT;
|
|
|
default:
|
|
|
- return 0;
|
|
|
+ return WMI_FW_GPIO_OUTPUT;
|
|
|
}
|
|
|
}
|
|
|
|