From 935303fd36d3d78f040f6d180cb0299d0ebdc318 Mon Sep 17 00:00:00 2001 From: Nelson Jeppesen <50854675+NelsonJeppesen@users.noreply.github.com> Date: Sun, 9 Jan 2022 18:33:41 -0800 Subject: [PATCH] linux config: SND_SOC_INTEL_SOUNDWIRE_SOF_MACH >= 5.10 Enable for SND_SOC_INTEL_SOUNDWIRE_SOF_MACH kernel module. This is used on some 10/11th gen Intel laptops such as the XPS 17 97[00|10] Enable SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES as well - this is required dep --- pkgs/os-specific/linux/kernel/common-config.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index a861d38ac662..af999b5d8b8e 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -302,6 +302,8 @@ let # Enable Sound Open Firmware support } // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" && versionAtLeast version "5.5") { + SND_SOC_INTEL_SOUNDWIRE_SOF_MACH = whenAtLeast "5.10" module; + SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES = whenAtLeast "5.10" yes; # dep of SOF_MACH SND_SOC_SOF_TOPLEVEL = yes; SND_SOC_SOF_ACPI = module; SND_SOC_SOF_PCI = module;