Commit 0cebf7c
committed
pmdomain: core: Don't clear suspended_count at genpd_prepare()
There is no longer any need to clear genpd->suspended_count in
genpd_prepare(), as it should be correctly incremented and decremented for
all cases. In fact, if the counter isn't correctly managed we would be
hiding a problem that we shouldn't. Therefore, let's not clear it.
Signed-off-by: Ulf Hansson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent 5af7f59 commit 0cebf7c
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1255 | 1255 | | |
1256 | 1256 | | |
1257 | 1257 | | |
1258 | | - | |
1259 | | - | |
1260 | | - | |
1261 | | - | |
| 1258 | + | |
1262 | 1259 | | |
1263 | 1260 | | |
1264 | 1261 | | |
| |||
0 commit comments