mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git
synced 2026-04-05 00:08:32 -04:00
Merge branch 'pm-runtime'
Merge a fix for a race condition related to device removal (Bart Van Assche) for 7.0-rc5. * pm-runtime: PM: runtime: Fix a race condition related to device removal
This commit is contained in:
@@ -1895,6 +1895,7 @@ void pm_runtime_reinit(struct device *dev)
|
||||
void pm_runtime_remove(struct device *dev)
|
||||
{
|
||||
__pm_runtime_disable(dev, false);
|
||||
flush_work(&dev->power.work);
|
||||
pm_runtime_reinit(dev);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user