From 7e901eeae0da1f2a4342e9773021e8131d54319f Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Mon, 8 Aug 2022 20:42:45 -0400 Subject: [PATCH] kernel: only enable PINCTRL_AMD on 5.19+ --- pkgs/os-specific/linux/kernel/common-config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 45bd5aa523c9..a859d7eea4f1 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -853,7 +853,7 @@ let MTRR_SANITIZER = yes; NET_FC = yes; # Fibre Channel driver support # Needed for touchpads to work on some AMD laptops - PINCTRL_AMD = yes; + PINCTRL_AMD = whenAtLeast "5.19" yes; # GPIO on Intel Bay Trail, for some Chromebook internal eMMC disks PINCTRL_BAYTRAIL = yes; # GPIO for Braswell and Cherryview devices