public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] habanalabs: Remove unused enum member DMA_SRAM_TO_SRAM
@ 2022-01-11 11:47 Cai Huoqing
  2022-01-23 14:43 ` Oded Gabbay
  0 siblings, 1 reply; 8+ messages in thread
From: Cai Huoqing @ 2022-01-11 11:47 UTC (permalink / raw)
  To: cai.huoqing; +Cc: Oded Gabbay, Arnd Bergmann, Greg Kroah-Hartman, linux-kernel

The driver don't support the SRAM-to-SRAM translation of DMA,
so remove 'DMA_SRAM_TO_SRAM'.

Signed-off-by: Cai Huoqing <cai.huoqing@linux.dev>
---
 drivers/misc/habanalabs/include/goya/goya_packets.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/misc/habanalabs/include/goya/goya_packets.h b/drivers/misc/habanalabs/include/goya/goya_packets.h
index ef54bad20509..25fbebdc6143 100644
--- a/drivers/misc/habanalabs/include/goya/goya_packets.h
+++ b/drivers/misc/habanalabs/include/goya/goya_packets.h
@@ -36,7 +36,6 @@ enum goya_dma_direction {
 	DMA_SRAM_TO_HOST,
 	DMA_DRAM_TO_HOST,
 	DMA_DRAM_TO_DRAM,
-	DMA_SRAM_TO_SRAM,
 	DMA_ENUM_MAX
 };
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-01-23 16:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-11 11:47 [PATCH] habanalabs: Remove unused enum member DMA_SRAM_TO_SRAM Cai Huoqing
2022-01-23 14:43 ` Oded Gabbay
2022-01-23 15:04   ` Greg Kroah-Hartman
2022-01-23 16:01     ` Oded Gabbay
2022-01-23 16:08       ` Greg Kroah-Hartman
2022-01-23 16:11         ` Oded Gabbay
2022-01-23 16:17           ` Greg Kroah-Hartman
2022-01-23 16:24             ` Oded Gabbay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox