Skip to contentSkip to conversation

Documentation: power: Fix typo in suspend and interrupts doc

PATCH Applied Saravana Kannan 3 participants 3 messages Mar 8, 2024 – Mar 13, 2024 Suspend to RAM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: power: Fix typo in suspend and interrupts doc

Typos are bad. Fix them.

---
 Documentation/power/suspend-and-interrupts.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/power/suspend-and-interrupts.rst +1 -1
index dfbace2f4600..f588feeecad0 100644
@@ -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
Signature · 1 line
2.44.0.278.ge034bb2e1d-goog
Reviewed-by on v1 1/1
#1 lore raw
Quoted 1 line · Saravana Kannan

Typos are bad. Fix them.

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

Quoted 12 lines
---
 Documentation/power/suspend-and-interrupts.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/power/suspend-and-interrupts.rst +0 -0
index dfbace2f4600..f588feeecad0 100644

Documentation/power/suspend-and-interrupts.rst handling the given IRQ as a system wakeup interrupt line and disable_irq_wake() · line 84

Quoted 8 lines
Documentation/power/suspend-and-interrupts.rst +1 -1
@@ -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!

Signature · 2 lines
Best regards,
Dhruva Gole <[email protected]>
maintainer Applied
#2 lore raw
In reply to Saravana Kannan
Quoted 13 lines · Saravana Kannan

Typos are bad. Fix them.

---
 Documentation/power/suspend-and-interrupts.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/power/suspend-and-interrupts.rst +0 -0
index dfbace2f4600..f588feeecad0 100644

Documentation/power/suspend-and-interrupts.rst handling the given IRQ as a system wakeup interrupt line and disable_irq_wake()

Quoted 9 lines
Documentation/power/suspend-and-interrupts.rst +1 -2
@@ -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!