summaryrefslogtreecommitdiffstats
path: root/drivers/dma/qcom/hidma_ll.c
diff options
context:
space:
mode:
authorSinan Kaya <okaya@codeaurora.org>2016-10-21 12:37:59 -0400
committerVinod Koul <vinod.koul@intel.com>2016-11-03 18:55:45 +0530
commit1c0e3e82a7fb01c7398ea9533f57c0a77099428f (patch)
tree2739f420f56aa684a8d8f3a5061e973789aa0fdc /drivers/dma/qcom/hidma_ll.c
parent0e858f8d6f66df25545861759e174023bd7d5c1f (diff)
downloadblackbird-op-linux-1c0e3e82a7fb01c7398ea9533f57c0a77099428f.tar.gz
blackbird-op-linux-1c0e3e82a7fb01c7398ea9533f57c0a77099428f.zip
dmaengine: qcom_hidma: add MSI support for interrupts
The interrupts can now be delivered as platform MSI interrupts on newer platforms. The code looks for a new OF and ACPI strings in order to enable the functionality. Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/qcom/hidma_ll.c')
-rw-r--r--drivers/dma/qcom/hidma_ll.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/dma/qcom/hidma_ll.c b/drivers/dma/qcom/hidma_ll.c
index 7fe43afcbe32..6645bdf0d151 100644
--- a/drivers/dma/qcom/hidma_ll.c
+++ b/drivers/dma/qcom/hidma_ll.c
@@ -457,6 +457,14 @@ irqreturn_t hidma_ll_inthandler(int chirq, void *arg)
return IRQ_HANDLED;
}
+irqreturn_t hidma_ll_inthandler_msi(int chirq, void *arg, int cause)
+{
+ struct hidma_lldev *lldev = arg;
+
+ hidma_ll_int_handler_internal(lldev, cause);
+ return IRQ_HANDLED;
+}
+
int hidma_ll_enable(struct hidma_lldev *lldev)
{
u32 val;
OpenPOWER on IntegriCloud