]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: staging/ipu7: Call synchronous RPM suspend in probe failure
authorBingbu Cao <bingbu.cao@intel.com>
Tue, 23 Dec 2025 07:23:01 +0000 (15:23 +0800)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 13 Jan 2026 11:47:55 +0000 (12:47 +0100)
commit1433e6ccc25e9ea596683ab66e1c51f37fc7d491
tree896568347c147dcd332f1c956b118a26ea591a78
parent9ad65684b9285c5d66fb417d50e91a25ef8c994d
media: staging/ipu7: Call synchronous RPM suspend in probe failure

If firmware authentication failed during driver probe, driver call an
asynchronous API to suspend the psys device but the bus device will be
removed soon, thus runtime PM of bus device will be disabled soon, that
will cancel the suspend request, so use synchronous suspend to make
sure the runtime suspend before disabling its RPM.

IPU7 hardware has constraints that the PSYS device must be powered off
before ISYS, otherwise it will cause machine check error.

Cc: Stable@vger.kernel.org
Fixes: b7fe4c0019b1 ("media: staging/ipu7: add Intel IPU7 PCI device driver")
Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/staging/media/ipu7/ipu7.c