]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: staging/ipu7: Ignore interrupts when device is suspended
authorBingbu Cao <bingbu.cao@intel.com>
Tue, 23 Dec 2025 07:23:00 +0000 (15:23 +0800)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 13 Jan 2026 11:47:55 +0000 (12:47 +0100)
commit9ad65684b9285c5d66fb417d50e91a25ef8c994d
tree302db03147f1d827ab0805fa7605494313ea6a5a
parent6099f78e4c9223f4de4169d2fd1cded01279da1a
media: staging/ipu7: Ignore interrupts when device is suspended

IPU7 devices have shared interrupts with others. In some case when IPU7
device is suspended, driver get unexpected interrupt and invalid irq
status 0xffffffff from ISR_STATUS and PB LOCAL_STATUS registers as
interrupt is triggered from other device on shared irq line.

In order to avoid this issue use pm_runtime_get_if_active() to check if
IPU7 device is resumed, ignore the invalid irq status and use
synchronize_irq() in suspend.

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-buttress.c
drivers/staging/media/ipu7/ipu7.c