From f62156c9e1e771f6d5ac9f4aebcb5e042d364e1b Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 13 Mar 2020 19:26:00 +0100 Subject: [PATCH] Add missing config dependency for SAM HPS The surface_sam_hps module depends on CONFIG_GPIO_SYSFS and will fail to probe without it. Fedora disables it by default, thus explicitly set it to y. See https://github.com/linux-surface/surface-aggregator-module/issues/37 --- configs/surface-4.19.config | 1 + configs/surface-5.5.config | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/surface-4.19.config b/configs/surface-4.19.config index af998b7ed..ebb739620 100644 --- a/configs/surface-4.19.config +++ b/configs/surface-4.19.config @@ -7,6 +7,7 @@ CONFIG_INTEL_IPTS_SURFACE=m # # Surface Aggregator Module # +CONFIG_GPIO_SYSFS=y # required for SURFACE_SAM_HPS CONFIG_SURFACE_SAM=m CONFIG_SURFACE_SAM_SSH=m CONFIG_SURFACE_SAM_SSH_DEBUG_DEVICE=y diff --git a/configs/surface-5.5.config b/configs/surface-5.5.config index ba9740423..da9494aef 100644 --- a/configs/surface-5.5.config +++ b/configs/surface-5.5.config @@ -1,6 +1,7 @@ # # Surface Aggregator Module # +CONFIG_GPIO_SYSFS=y # required for SURFACE_SAM_HPS CONFIG_SURFACE_SAM=m CONFIG_SURFACE_SAM_SSH=m CONFIG_SURFACE_SAM_SSH_DEBUG_DEVICE=y