From f57be3c72ace01f5c0c5412e7de43d2b0ed47f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Thu, 24 Feb 2022 07:53:06 +0100 Subject: [PATCH] linux: restrict option JOYSTICK_PSXPAD_SPI_FF This broke older kernels in PR #155613 (commit 8aae7afa3e). I only checked the kernel versions that we maintain, so (>= 4.14) might be an imprecise condition. --- 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 6d9280c21658..9dc7b829961e 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -729,7 +729,7 @@ let DRAGONRISE_FF = yes; GREENASIA_FF = yes; HOLTEK_FF = yes; - JOYSTICK_PSXPAD_SPI_FF = yes; + JOYSTICK_PSXPAD_SPI_FF = whenAtLeast "4.14" yes; LOGIG940_FF = yes; NINTENDO_FF = whenAtLeast "5.16" yes; PLAYSTATION_FF = whenAtLeast "5.12" yes;