diff mbox series

Documentation: power: Fix typo in suspend and interrupts doc

Message ID 20240308224450.2327415-1-saravanak@google.com
State Accepted
Commit d61120b4623e24e863a455c1e11085fcb7653d08
Headers show
Series Documentation: power: Fix typo in suspend and interrupts doc | expand

Commit Message

Saravana Kannan March 8, 2024, 10:44 p.m. UTC
Typos are bad. Fix them.

Signed-off-by: Saravana Kannan <saravanak@google.com>
---
 Documentation/power/suspend-and-interrupts.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dhruva Gole March 11, 2024, 4:39 a.m. UTC | #1
On Mar 08, 2024 at 14:44:50 -0800, Saravana Kannan wrote:
> Typos are bad. Fix them.

Maybe a little more description that you s/by/but would've also made
things more clear?

> 
> Signed-off-by: Saravana Kannan <saravanak@google.com>
> ---
>  Documentation/power/suspend-and-interrupts.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/power/suspend-and-interrupts.rst b/Documentation/power/suspend-and-interrupts.rst
> index dfbace2f4600..f588feeecad0 100644
> --- a/Documentation/power/suspend-and-interrupts.rst
> +++ b/Documentation/power/suspend-and-interrupts.rst
> @@ -78,7 +78,7 @@ handling the given IRQ as a system wakeup interrupt line and disable_irq_wake()
>  turns that logic off.
>  
>  Calling enable_irq_wake() causes suspend_device_irqs() to treat the given IRQ
> -in a special way.  Namely, the IRQ remains enabled, by on the first interrupt
> +in a special way.  Namely, the IRQ remains enabled, but on the first interrupt
>  it will be disabled, marked as pending and "suspended" so that it will be
>  re-enabled by resume_device_irqs() during the subsequent system resume.  Also
>  the PM core is notified about the event which causes the system suspend in
> -- 

Anyway, changes LGTM!

Reviewed-by: Dhruva Gole <d-gole@ti.com>
Rafael J. Wysocki March 13, 2024, 7:52 p.m. UTC | #2
On Fri, Mar 8, 2024 at 11:45 PM Saravana Kannan <saravanak@google.com> wrote:
>
> Typos are bad. Fix them.
>
> Signed-off-by: Saravana Kannan <saravanak@google.com>
> ---
>  Documentation/power/suspend-and-interrupts.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/power/suspend-and-interrupts.rst b/Documentation/power/suspend-and-interrupts.rst
> index dfbace2f4600..f588feeecad0 100644
> --- a/Documentation/power/suspend-and-interrupts.rst
> +++ b/Documentation/power/suspend-and-interrupts.rst
> @@ -78,7 +78,7 @@ handling the given IRQ as a system wakeup interrupt line and disable_irq_wake()
>  turns that logic off.
>
>  Calling enable_irq_wake() causes suspend_device_irqs() to treat the given IRQ
> -in a special way.  Namely, the IRQ remains enabled, by on the first interrupt
> +in a special way.  Namely, the IRQ remains enabled, but on the first interrupt
>  it will be disabled, marked as pending and "suspended" so that it will be
>  re-enabled by resume_device_irqs() during the subsequent system resume.  Also
>  the PM core is notified about the event which causes the system suspend in
> --

Applied as 6.9-rc material, thanks!
diff mbox series

Patch

diff --git a/Documentation/power/suspend-and-interrupts.rst b/Documentation/power/suspend-and-interrupts.rst
index dfbace2f4600..f588feeecad0 100644
--- a/Documentation/power/suspend-and-interrupts.rst
+++ b/Documentation/power/suspend-and-interrupts.rst
@@ -78,7 +78,7 @@  handling the given IRQ as a system wakeup interrupt line and disable_irq_wake()
 turns that logic off.
 
 Calling enable_irq_wake() causes suspend_device_irqs() to treat the given IRQ
-in a special way.  Namely, the IRQ remains enabled, by on the first interrupt
+in a special way.  Namely, the IRQ remains enabled, but on the first interrupt
 it will be disabled, marked as pending and "suspended" so that it will be
 re-enabled by resume_device_irqs() during the subsequent system resume.  Also
 the PM core is notified about the event which causes the system suspend in