media: staging/ipu7: fix isys device runtime PM usage in firmware closing
Subsystems (4)
PATCH v2 1/1 media: staging/ipu7: fix isys device runtime PM usage in firmware closing
From: Bingbu Cao <[email protected]>
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.
Fixes a516d36bdc3d ("media: staging/ipu7: add IPU7 input system device driver")
Signed-off-by Bingbu Cao <[email protected]>
--- drivers/staging/media/ipu7/ipu7-isys-video.c | 1 + 1 file changed, 1 insertion(+)
drivers/staging/media/ipu7/ipu7-isys-video.c +1 -0
@@ -946,6 +946,7 @@ void ipu7_isys_fw_close(struct ipu7_isys *isys)ipu7_fw_isys_close (isys);mutex_unlock (&isys->mutex); +pm_runtime_put (&isys->adev->auxdev.dev); } int ipu7_isys_setup_video(struct ipu7_isys_video *av,
Signature · 1 line
2.34.1