summaryrefslogtreecommitdiff
path: root/arch/s390/lib/test_modules_helpers.c
diff options
context:
space:
mode:
authorKai-Heng Feng <kai.heng.feng@canonical.com>2022-01-25 13:50:08 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-26 18:53:28 +0100
commitb11a3c7a4b31fbc331670d5e2378ed71a4334be0 (patch)
treeaa9b1e25a73ec0fb57e3c78bf7a42863d934bcf2 /arch/s390/lib/test_modules_helpers.c
parent597568e8df046ebf349c706b281a711297ab20fb (diff)
downloadlinux-b11a3c7a4b31fbc331670d5e2378ed71a4334be0.tar.gz
linux-b11a3c7a4b31fbc331670d5e2378ed71a4334be0.tar.bz2
linux-b11a3c7a4b31fbc331670d5e2378ed71a4334be0.zip
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 <ricky_wu@realtek.com> Tested-by: Ricky WU <ricky_wu@realtek.com> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Link: https://lore.kernel.org/r/20220125055010.1866563-3-kai.heng.feng@canonical.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390/lib/test_modules_helpers.c')
0 files changed, 0 insertions, 0 deletions