Merge branch 'pm-runtime'
* pm-runtime: PM / Runtime: Fix error path for prepare PM / Runtime: Update documentation around probe|remove|suspend
This commit is contained in:
@@ -1350,6 +1350,9 @@ static int device_prepare(struct device *dev, pm_message_t state)
|
||||
|
||||
device_unlock(dev);
|
||||
|
||||
if (error)
|
||||
pm_runtime_put(dev);
|
||||
|
||||
return error;
|
||||
}
|
||||
|
||||
|
مرجع در شماره جدید
Block a user