Skip to content

Commit

Permalink
Documentation: ACPI: Fix non-D0 probe _DSC object example
Browse files Browse the repository at this point in the history
The original patch adding the example used _DSC Name when Method was
intended. Fix this.

Also replace spaces used for indentation with tabs in the example.

Fixes: ed66f12 ("Documentation: ACPI: Document _DSC object usage for enum power state")
Reported-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Sakari Ailus authored and Rafael J. Wysocki committed Nov 10, 2021
1 parent 1e96078 commit dff5acf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Documentation/firmware-guide/acpi/non-d0-probe.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ objects not relevant from the example point of view have been omitted.
.. code-block:: text
Device (CAM0)
{
{
Name (_HID, "SONY319A")
Name (_UID, Zero)
Name (_CRS, ResourceTemplate ()
Expand All @@ -71,8 +71,8 @@ objects not relevant from the example point of view have been omitted.
AddressingMode7Bit, "\\_SB.PCI0.I2C0",
0x00, ResourceConsumer)
})
Name (_DSC, 0, NotSerialized)
Method (_DSC, 0, NotSerialized)
{
Return (0x4)
}
}
}

0 comments on commit dff5acf

Please sign in to comment.