mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
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>
This commit is contained in:
parent
96ccd4a43a
commit
c71320d0c4
1 changed files with 4 additions and 4 deletions
|
@ -15,10 +15,10 @@
|
||||||
/**
|
/**
|
||||||
* suspend_device_irqs - disable all currently enabled interrupt lines
|
* suspend_device_irqs - disable all currently enabled interrupt lines
|
||||||
*
|
*
|
||||||
* During system-wide suspend or hibernation device interrupts need to be
|
* During system-wide suspend or hibernation device drivers need to be prevented
|
||||||
* disabled at the chip level and this function is provided for this purpose.
|
* from receiving interrupts and this function is provided for this purpose.
|
||||||
* It disables all interrupt lines that are enabled at the moment and sets the
|
* It marks all interrupt lines in use, except for the timer ones, as disabled
|
||||||
* IRQ_SUSPENDED flag for them.
|
* and sets the IRQ_SUSPENDED flag for each of them.
|
||||||
*/
|
*/
|
||||||
void suspend_device_irqs(void)
|
void suspend_device_irqs(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue