]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: staging/ipu7: fix isys device runtime PM usage in firmware closing
authorBingbu Cao <bingbu.cao@intel.com>
Tue, 9 Sep 2025 06:01:53 +0000 (14:01 +0800)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 10 Sep 2025 08:40:53 +0000 (10:40 +0200)
commit895d3b4b5832edefd2f1fbad9d75c0179f47fe0e
tree06665a637e0b77b89de6ccd7fc6fe94116ad922a
parenta5925a2ce0775374dcbbaf19826b539c2e9eec84
media: staging/ipu7: fix isys device runtime PM usage in firmware closing

The PM usage counter of isys was bumped up when start camera stream
(opening firmware) but it was not dropped after stream stop(closing
firmware), it forbids system fail to suspend due to the wrong PM state
of ISYS. This patch drop the PM usage counter in firmware close to fix
it.

Cc: Stable@vger.kernel.org
Fixes: a516d36bdc3d ("media: staging/ipu7: add IPU7 input system 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-isys-video.c