summaryrefslogtreecommitdiffstats
path: root/drivers/misc/habanalabs/irq.c
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2019-08-08 16:00:54 +0200
committerOded Gabbay <oded.gabbay@gmail.com>2019-09-05 13:55:27 +0200
commitabca3a8224410ce5d9ddc84653bed55074b7b400 (patch)
treeda01da2a02a146d4fa7e56863028f0c7eb7d7641 /drivers/misc/habanalabs/irq.c
parenthabanalabs: Handle HW_IP_INFO if device disabled or in reset (diff)
downloadlinux-abca3a8224410ce5d9ddc84653bed55074b7b400.tar.xz
linux-abca3a8224410ce5d9ddc84653bed55074b7b400.zip
habanalabs: replace __cpu_to_le32/64 with cpu_to_le32/64
In some files the code use __cpu_to_le32/64 while in other it use cpu_to_le32/64. Replace all __cpu_to_le32/64 instances with cpu_to_le32/64 for consistency. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/misc/habanalabs/irq.c')
-rw-r--r--drivers/misc/habanalabs/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/habanalabs/irq.c b/drivers/misc/habanalabs/irq.c
index 199791b57caf..553068e112f9 100644
--- a/drivers/misc/habanalabs/irq.c
+++ b/drivers/misc/habanalabs/irq.c
@@ -194,7 +194,7 @@ irqreturn_t hl_irq_handler_eq(int irq, void *arg)
skip_irq:
/* Clear EQ entry ready bit */
eq_entry->hdr.ctl =
- __cpu_to_le32(__le32_to_cpu(eq_entry->hdr.ctl) &
+ cpu_to_le32(__le32_to_cpu(eq_entry->hdr.ctl) &
~EQ_CTL_READY_MASK);
eq->ci = hl_eq_inc_ptr(eq->ci);