[PATCH 2/2][SRU][R][Q] Revert "UBUNTU: SAUCE: platform/x86: int3472: Add handshake GPIO function"

You-Sheng Yang vicamo.yang at canonical.com
Mon Oct 20 16:56:22 UTC 2025


BugLink: https://bugs.launchpad.net/bugs/2128792

This reverts commit 9672bb65ed177b02d9e2b1bb94a933adb2a72237.

Signed-off-by: You-Sheng Yang <vicamo.yang at canonical.com>
---
 drivers/platform/x86/intel/int3472/discrete.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/platform/x86/intel/int3472/discrete.c b/drivers/platform/x86/intel/int3472/discrete.c
index bb3a41ea4bae2..bdfb8a800c548 100644
--- a/drivers/platform/x86/intel/int3472/discrete.c
+++ b/drivers/platform/x86/intel/int3472/discrete.c
@@ -205,10 +205,6 @@ static void int3472_get_con_id_and_polarity(struct int3472_discrete_device *int3
 		*con_id = "dvdd";
 		*gpio_flags = GPIO_ACTIVE_HIGH;
 		break;
-	case INT3472_GPIO_TYPE_HANDSHAKE:
-		*con_id = "handshake";
-		*gpio_flags = GPIO_ACTIVE_HIGH;
-		break;
 	default:
 		*con_id = "unknown";
 		*gpio_flags = GPIO_ACTIVE_HIGH;
@@ -303,8 +299,6 @@ static int skl_int3472_handle_gpio_resources(struct acpi_resource *ares,
 	case INT3472_GPIO_TYPE_POWERDOWN:
 	case INT3472_GPIO_TYPE_HOTPLUG_DETECT:
 		ret = skl_int3472_map_gpio_to_sensor(int3472, agpio, con_id, gpio_flags);
-	case INT3472_GPIO_TYPE_HANDSHAKE:
-		ret = skl_int3472_map_gpio_to_sensor(int3472, agpio, con_id, gpio_flags);
 		if (ret)
 			err_msg = "Failed to map GPIO pin to sensor\n";
 
-- 
2.51.0




More information about the kernel-team mailing list