Skip to content

Commit c71320d

Browse files
rjwysockiKAGA-KOKO
authored andcommitted
genirq: Fix comment describing suspend_device_irqs()
The kerneldoc comment describing suspend_device_irqs() is currently misleading, because generally the function doesn't really disable interrupt lines at the chip level. Replace it with a more accurate one. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> LKML-Reference: <200907050022.35117.rjw@sisk.pl> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent 96ccd4a commit c71320d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎kernel/irq/pm.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
/**
1616
* suspend_device_irqs - disable all currently enabled interrupt lines
1717
*
18-
* During system-wide suspend or hibernation device interrupts need to be
19-
* disabled at the chip level and this function is provided for this purpose.
20-
* It disables all interrupt lines that are enabled at the moment and sets the
21-
* IRQ_SUSPENDED flag for them.
18+
* During system-wide suspend or hibernation device drivers need to be prevented
19+
* from receiving interrupts and this function is provided for this purpose.
20+
* It marks all interrupt lines in use, except for the timer ones, as disabled
21+
* and sets the IRQ_SUSPENDED flag for each of them.
2222
*/
2323
void suspend_device_irqs(void)
2424
{

0 commit comments

Comments
 (0)