diff --git a/local/patches/base/P46b-ac97d-mutable-fix.patch b/local/patches/base/P46b-ac97d-mutable-fix.patch new file mode 100644 index 0000000000..3c1a9da5b4 --- /dev/null +++ b/local/patches/base/P46b-ac97d-mutable-fix.patch @@ -0,0 +1,5 @@ +--- a/drivers/audio/ac97d/src/main.rs ++++ b/drivers/audio/ac97d/src/main.rs +@@ -20 +20 @@ fn main() { +-fn daemon(daemon: daemon::Daemon, pcid_handle: PciFunctionHandle) -> ! { ++fn daemon(daemon: daemon::Daemon, mut pcid_handle: PciFunctionHandle) -> ! { diff --git a/recipes/core/base/P46b-ac97d-mutable-fix.patch b/recipes/core/base/P46b-ac97d-mutable-fix.patch new file mode 120000 index 0000000000..8e16e55b18 --- /dev/null +++ b/recipes/core/base/P46b-ac97d-mutable-fix.patch @@ -0,0 +1 @@ +../../../local/patches/base/P46b-ac97d-mutable-fix.patch \ No newline at end of file diff --git a/recipes/core/base/recipe.toml b/recipes/core/base/recipe.toml index 49293f5d53..39549d21e1 100644 --- a/recipes/core/base/recipe.toml +++ b/recipes/core/base/recipe.toml @@ -95,6 +95,8 @@ patches = [ "P45-net-msix-adoption.patch", # P46: Migrate ahcid and ac97d to MSI-X via pci_allocate_interrupt_vector "P46-storage-audio-msix.patch", + # P46b: Fix ac97d mutable borrow of pcid_handle (required by pci_allocate_interrupt_vector) + "P46b-ac97d-mutable-fix.patch", # P47: Update thermald to read from P44 thermal zones and coretempd "P47-thermald-backend.patch", # P48: Add ACPI fan device discovery and status exposure