diff options
| author | Bingbu Cao <bingbu.cao@intel.com> | 2025-12-23 15:23:00 +0800 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-04 07:21:12 -0500 |
| commit | c2e0b70acc68d5fa39043cfd79bf63d142242a3f (patch) | |
| tree | ba868b2a2d9949f56f36ca2d93829c032de211e8 /tools/lib/python/kdoc | |
| parent | 3cd9e7539a3010a83391fecade1186cf30e616c9 (diff) | |
media: staging/ipu7: Ignore interrupts when device is suspended
[ Upstream commit 9ad65684b9285c5d66fb417d50e91a25ef8c994d ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
