Add P46b fix for ac97d mutable pcid_handle borrow
P46 migrated ac97d to pci_allocate_interrupt_vector but missed adding to the pcid_handle parameter. This caused build failure: cannot borrow pcid_handle as mutable.
This commit is contained in:
@@ -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) -> ! {
|
||||
@@ -0,0 +1 @@
|
||||
../../../local/patches/base/P46b-ac97d-mutable-fix.patch
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user