]> git.baikalelectronics.ru Git - kernel.git/commit
genirq: Add wakeup sysfs node to show IRQ wakeup state
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 26 Feb 2018 15:50:43 +0000 (17:50 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 28 Feb 2018 17:07:20 +0000 (18:07 +0100)
commit6d7aae1a55b4f7b1091704d27a6c16b494d83905
tree44998772bb41b7dc38ba45cab307be83077d7dc7
parent73b41857b2228e337d0826e1eb42b4bb640cda0a
genirq: Add wakeup sysfs node to show IRQ wakeup state

Surprisingly there is no simple way to see if the IRQ line in question
is wakeup source or not.

Note that wakeup might be an OOB (out-of-band) source like GPIO line
which makes things slightly more complicated.

Add a sysfs node to cover this case.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Tony Lindgren <tony@atomide.com>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: "Rafael J . Wysocki" <rafael.j.wysocki@intel.com>
Link: https://lkml.kernel.org/r/20180226155043.67937-1-andriy.shevchenko@linux.intel.com
Documentation/ABI/testing/sysfs-kernel-irq
kernel/irq/irqdesc.c