Fix audio interrupt index to make the mainline kernel driver work master
authorAntonio Ospite <ao2@ao2.it>
Sun, 16 Dec 2018 21:50:24 +0000 (22:50 +0100)
committerAntonio Ospite <ao2@ao2.it>
Sun, 16 Dec 2018 21:50:24 +0000 (22:50 +0100)
The mainline kernel audio driver assumes the right interrupt at index
5 while the device DSDT places it at index 0.

Fix the ordering to make the mainline kernel driver work without
changes.

dsdt.dsl

index f4afcc3..6d649d0 100644 (file)
--- a/dsdt.dsl
+++ b/dsdt.dsl
@@ -3667,10 +3667,6 @@ DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
                     _Y06)
                 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )
                 {
-                    0x0000001D,
-                }
-                Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )
-                {
                     0x00000018,
                 }
                 Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )
@@ -3689,6 +3685,10 @@ DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003)
                 {
                     0x0000001C,
                 }
+                Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )
+                {
+                    0x0000001D,
+                }
             })
             Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
             {