aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-generic.c
diff options
context:
space:
mode:
authorJinjie Ruan <[email protected]>2024-09-23 03:42:50 +0000
committerAndi Shyti <[email protected]>2024-09-27 09:48:21 +0000
commit0c8d604dea437b69a861479b413d629bc9b3da70 (patch)
treeb7c4e9f4dd88f0f1ff5b8c705c023606932b9e93 /drivers/pci/controller/pci-host-generic.c
parenti2c: keba: I2C_KEBA should depend on KEBA_CP500 (diff)
downloadkernel-0c8d604dea437b69a861479b413d629bc9b3da70.tar.gz
kernel-0c8d604dea437b69a861479b413d629bc9b3da70.zip
i2c: xiic: Fix pm_runtime_set_suspended() with runtime pm enabled
It is not valid to call pm_runtime_set_suspended() for devices with runtime PM enabled because it returns -EAGAIN if it is enabled already and working. So, call pm_runtime_disable() before to fix it. Fixes: 36ecbcab84d0 ("i2c: xiic: Implement power management") Cc: <[email protected]> # v4.6+ Signed-off-by: Jinjie Ruan <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions