diff options
| author | Kai-Heng Feng <[email protected]> | 2022-01-25 13:50:08 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-01-26 18:53:28 +0100 |
| commit | b11a3c7a4b31fbc331670d5e2378ed71a4334be0 (patch) | |
| tree | aa9b1e25a73ec0fb57e3c78bf7a42863d934bcf2 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 597568e8df046ebf349c706b281a711297ab20fb (diff) | |
misc: rtsx: Cleanup power management ops
- Use cancel_delayed_work_sync to ensure there's no race with
carddet_work.
- Remove device_wakeup_disable to save some CPU cycles. If the device
really has ACPI _DSW then the wakeup should be disabled in probe
routine.
- Remove fetch_vendor_settings from runtime resume routine, since they
are already saved in "struct rtsx_pcr".
- Move variable assignments to the top of the functions.
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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions