diff options
| author | Dinghao Liu <[email protected]> | 2020-05-22 17:51:39 +0800 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2020-05-31 10:53:37 +0200 |
| commit | 550e68ea36a6671a96576c0531685ce6e6c0d19d (patch) | |
| tree | 6b1fc6993b46ccf5ddc8e1592902af026c8d6647 /tools/perf/scripts/python | |
| parent | 5d55714fa5ac1ac93a9224821f289fbf46532d30 (diff) | |
mtd: rawnand: gpmi: Fix runtime PM imbalance on error
pm_runtime_get_sync() increments the runtime PM usage counter even
when it returns an error code. Thus a pairing decrement is needed on
the error handling path to keep the counter balanced.
Signed-off-by: Dinghao Liu <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions