]> git.ipfire.org Git - thirdparty/linux.git/commit
i3c: mipi-i3c-hci-pci: Add System Suspend support
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 23 Jan 2026 06:33:25 +0000 (08:33 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 30 Jan 2026 23:02:24 +0000 (00:02 +0100)
commit4280197d154cae1d1d5acb54484da26da04eac32
treedc8b700666fff99494bd078d12bfa8a2082c17bc
parentc3357bdd9be9cd9e34e46fe100e1d425503d4acf
i3c: mipi-i3c-hci-pci: Add System Suspend support

Assign the driver PM operations pointer, which is necessary for the PCI
subsystem to put the device into a low power state.  Refer to
pci_pm_suspend_noirq() which bails out if the pointer is NULL, before
it has the opportunity to call pci_prepare_to_sleep().

No other actions are necessary as the mipi-i3c-hci driver takes care of
controller state.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260123063325.8210-4-adrian.hunter@intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c