Commit 432acb2
committed
cpufreq: intel_pstate: Wait for canceled delayed work to complete
Make intel_pstate_disable_hwp_interrupt() wait for canceled delayed work
to complete to avoid leftover work items running when it returns which
may be during driver unregistration and may confuse things going forward.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>1 parent 12ebba4 commit 432acb2
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1682 | 1682 | | |
1683 | 1683 | | |
1684 | 1684 | | |
| 1685 | + | |
| 1686 | + | |
1685 | 1687 | | |
1686 | 1688 | | |
1687 | 1689 | | |
1688 | 1690 | | |
1689 | 1691 | | |
1690 | 1692 | | |
1691 | 1693 | | |
1692 | | - | |
1693 | | - | |
| 1694 | + | |
1694 | 1695 | | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
1695 | 1699 | | |
1696 | 1700 | | |
1697 | 1701 | | |
| |||
0 commit comments