diff options
| author | Kai-Heng Feng <[email protected]> | 2022-01-25 13:50:06 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-01-26 18:53:28 +0100 |
| commit | 7499b529d97f752124fa62fefa1d6d44b371215a (patch) | |
| tree | e6bde057f3a906b62f21f0bc6d2933b339630ddc /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 6d01f36f9e49e17c3473fc5d9af67b5f32df5c87 (diff) | |
mmc: rtsx: Use pm_runtime_{get,put}() to handle runtime PM
Commit 5b4258f6721f ("misc: rtsx: rts5249 support runtime PM") doesn't
use pm_runtime_{get,put}() helpers when it should, so the RPM refcount
keeps at zero, hence its parent driver, rtsx_pci, has to do lots of
weird tricks to keep it from runtime suspending.
So use those helpers at right places to properly manage runtime PM.
Fixes: 5b4258f6721f ("misc: rtsx: rts5249 support runtime PM")
Cc: Ricky WU <[email protected]>
Tested-by: Ricky WU <[email protected]>
Signed-off-by: Kai-Heng Feng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions