From 2a03074fae713144d038b23aaada0af74d682196 Mon Sep 17 00:00:00 2001 From: Sourav Mohapatra Date: Wed, 20 Nov 2019 10:03:53 +0530 Subject: [PATCH] qcacld-3.0: Rectify max values for TSF pin inis The max values of the ini's CFG_SET_TSF_GPIO_PIN and CFG_SET_TSF_IRQ_HOST_GPIO_PIN are set wrong. The default value for those is higher than the max value. Increase the max value to accommodate the correct range. Change-Id: I7d5528801c3b0fc2480e00b28ab4eb8f0385930a CRs-Fixed: 2570044 --- components/fw_offload/dispatcher/inc/cfg_fwol_generic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/fw_offload/dispatcher/inc/cfg_fwol_generic.h b/components/fw_offload/dispatcher/inc/cfg_fwol_generic.h index 565d3628a0dc..951de27f40b9 100644 --- a/components/fw_offload/dispatcher/inc/cfg_fwol_generic.h +++ b/components/fw_offload/dispatcher/inc/cfg_fwol_generic.h @@ -432,7 +432,7 @@ #define CFG_SET_TSF_GPIO_PIN CFG_INI_INT( \ "gtsf_gpio_pin", \ 0, \ - 254, \ + 255, \ 255, \ CFG_VALUE_OR_DEFAULT, \ "GPIO pin to toggle when capture tsf") @@ -455,7 +455,7 @@ #define CFG_SET_TSF_IRQ_HOST_GPIO_PIN CFG_INI_INT( \ "gtsf_irq_host_gpio_pin", \ 0, \ - 254, \ + 255, \ 255, \ CFG_VALUE_OR_DEFAULT, \ "TSF irq GPIO pin of host platform")