idma64: Don't try to serve interrupts when device is powered off
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 21 Mar 2024 12:04:21 +0000 (14:04 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 28 Mar 2024 07:11:58 +0000 (12:41 +0530)
commit9140ce47872bfd89fca888c2f992faa51d20c2bc
tree1fd607231100d2421ec82c22905f1b1e4e1e752f
parent30f0ced9971b2d8c8c24ae75786f9079489a012d
idma64: Don't try to serve interrupts when device is powered off

When iDMA 64-bit device is powered off, the IRQ status register
is all 1:s. This is never happen in real case and signalling that
the device is simply powered off. Don't try to serve interrupts
that are not ours.

Fixes: 667dfed98615 ("dmaengine: add a driver for Intel integrated DMA 64-bit")
Reported-by: Heiner Kallweit <hkallweit1@gmail.com>
Closes: https://lore.kernel.org/r/700bbb84-90e1-4505-8ff0-3f17ea8bc631@gmail.com
Tested-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240321120453.1360138-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idma64.c