* [PATCH 1/1] Documentation: ACPI: Fix non-D0 probe _DSC object example
@ 2021-11-10 12:10 Sakari Ailus
2021-11-10 13:57 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Sakari Ailus @ 2021-11-10 12:10 UTC (permalink / raw)
To: linux-acpi; +Cc: Rafael J. Wysocki, Bingbu Cao
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: ed66f12ba4b1 ("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>
---
Documentation/firmware-guide/acpi/non-d0-probe.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/firmware-guide/acpi/non-d0-probe.rst b/Documentation/firmware-guide/acpi/non-d0-probe.rst
index 78781e1ab6a3d..7afd16701a02e 100644
--- a/Documentation/firmware-guide/acpi/non-d0-probe.rst
+++ b/Documentation/firmware-guide/acpi/non-d0-probe.rst
@@ -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 ()
@@ -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)
- }
+ }
}
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] Documentation: ACPI: Fix non-D0 probe _DSC object example
2021-11-10 12:10 [PATCH 1/1] Documentation: ACPI: Fix non-D0 probe _DSC object example Sakari Ailus
@ 2021-11-10 13:57 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2021-11-10 13:57 UTC (permalink / raw)
To: Sakari Ailus; +Cc: ACPI Devel Maling List, Rafael J. Wysocki, Bingbu Cao
On Wed, Nov 10, 2021 at 1:10 PM Sakari Ailus
<sakari.ailus@linux.intel.com> wrote:
>
> 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: ed66f12ba4b1 ("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>
> ---
> Documentation/firmware-guide/acpi/non-d0-probe.rst | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/firmware-guide/acpi/non-d0-probe.rst b/Documentation/firmware-guide/acpi/non-d0-probe.rst
> index 78781e1ab6a3d..7afd16701a02e 100644
> --- a/Documentation/firmware-guide/acpi/non-d0-probe.rst
> +++ b/Documentation/firmware-guide/acpi/non-d0-probe.rst
> @@ -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 ()
> @@ -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)
> - }
> + }
> }
> --
Applied as 5.16-rc material, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-10 13:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-10 12:10 [PATCH 1/1] Documentation: ACPI: Fix non-D0 probe _DSC object example Sakari Ailus
2021-11-10 13:57 ` Rafael J. Wysocki
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.