mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
ANDROID: Allow vendor modules perform more operationson.
Export pm_wakeup_irq for obtain the wakeup source when the system wakes up,it used to handle different processing logic for different wakeup sources. Bug: 378615449 Change-Id: I65c14afb1d3da2e43c58519f8b0233a875db2726 Signed-off-by: Dezhi Huang <huangdezhi@hihonor.com> (cherry picked from commit 413bd75728ea00056e1f061da7ad091d618b5806)
This commit is contained in:
committed by
xinpei jiang
parent
7160754546
commit
cbc36a1928
@@ -1008,6 +1008,7 @@ unsigned int pm_wakeup_irq(void)
|
|||||||
{
|
{
|
||||||
return wakeup_irq[0];
|
return wakeup_irq[0];
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(pm_wakeup_irq);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pm_get_wakeup_count - Read the number of registered wakeup events.
|
* pm_get_wakeup_count - Read the number of registered wakeup events.
|
||||||
|
|||||||
Reference in New Issue
Block a user