diff options
| author | Jon Hunter <[email protected]> | 2015-09-03 08:10:37 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2015-09-05 01:33:19 +0000 |
| commit | 30e7a65b3fdb53cc49f85c965095e40aceea3961 (patch) | |
| tree | c1c6bfaf9597591c7c987315b25bd5f6e429a202 /net/unix/af_unix.c | |
| parent | PM / Domains: Try power off masters in error path of __pm_genpd_poweron() (diff) | |
| download | kernel-30e7a65b3fdb53cc49f85c965095e40aceea3961.tar.gz kernel-30e7a65b3fdb53cc49f85c965095e40aceea3961.zip | |
PM / Domains: Ensure subdomain is not in use before removing
The function pm_genpd_remove_subdomain() removes a subdomain from a
generic PM domain, however, it does not check if the subdomain has any
slave domains or device attached before doing so. Therefore, add a test
to verify that the subdomain does not have any slave domains associated
or any device attached before removing.
Signed-off-by: Jon Hunter <[email protected]>
Acked-by: Kevin Hilman <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
