summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-wm8350.c
diff options
context:
space:
mode:
authorKai-Heng Feng <kai.heng.feng@canonical.com>2022-01-25 13:50:07 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-26 18:53:28 +0100
commit597568e8df046ebf349c706b281a711297ab20fb (patch)
treefb4b2f40db686d24f776abf59dc7ce1458d37330 /drivers/rtc/rtc-wm8350.c
parent7499b529d97f752124fa62fefa1d6d44b371215a (diff)
downloadlwn-597568e8df046ebf349c706b281a711297ab20fb.tar.gz
lwn-597568e8df046ebf349c706b281a711297ab20fb.zip
misc: rtsx: Rework runtime power management flow
Commit 5b4258f6721f ("misc: rtsx: rts5249 support runtime PM") uses "rtd3_work" and "idle_work" to manage it's own runtime PM state machine. When its child device, rtsx_pci_sdmmc, uses runtime PM refcount correctly, all the additional works can be managed by generic runtime PM helpers. So consolidate "idle_work" and "rtd3_work" into generic runtime idle callback and runtime suspend callback, respectively. Fixes: 5b4258f6721f ("misc: rtsx: rts5249 support runtime PM") 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-2-kai.heng.feng@canonical.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc/rtc-wm8350.c')
0 files changed, 0 insertions, 0 deletions