From e115f11a3e071c4a9d226fc9e5bdcb1904172768 Mon Sep 17 00:00:00 2001 From: Vivek Reddy Karri Date: Tue, 18 Apr 2023 23:27:06 +0000 Subject: [PATCH] [mlnx] Update the hw-mgmt integration tool case sensitive for KConfig Signed-off-by: Vivek Reddy Karri --- platform/mellanox/integration-scripts/helper.py | 2 +- .../mellanox/integration-scripts/tests/test_filehandler.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/mellanox/integration-scripts/helper.py b/platform/mellanox/integration-scripts/helper.py index 4c7587e516de..1b498130bcf8 100644 --- a/platform/mellanox/integration-scripts/helper.py +++ b/platform/mellanox/integration-scripts/helper.py @@ -156,7 +156,7 @@ def parse_opts_strs(kcfg_sec: list) -> list(tuple()): def get_writable_opts(opts): lines = [] for opt in opts: - lines.append("{}={}".format(opt[0].upper(), opt[1])) + lines.append("{}={}".format(opt[0], opt[1])) return lines diff --git a/platform/mellanox/integration-scripts/tests/test_filehandler.py b/platform/mellanox/integration-scripts/tests/test_filehandler.py index 8b7c39ae137a..a38328d839d6 100644 --- a/platform/mellanox/integration-scripts/tests/test_filehandler.py +++ b/platform/mellanox/integration-scripts/tests/test_filehandler.py @@ -48,7 +48,7 @@ CONFIG_I2C_I801=m CONFIG_PINCTRL=y CONFIG_PINCTRL_INTEL=m -CONFIG_I2C_MUX_PCA954X=m +CONFIG_I2C_MUX_PCA954x=m CONFIG_SPI_PXA2XX=m """ @@ -68,7 +68,7 @@ CONFIG_I2C_I801=m CONFIG_PINCTRL=y CONFIG_PINCTRL_INTEL=m -CONFIG_I2C_MUX_PCA954X=m +CONFIG_I2C_MUX_PCA954x=m CONFIG_SPI_PXA2XX=m ###-> mellanox-end