History

ARM: OMAP2+: Drop sdma interrupt handling for mach-omap2

All device tree probing omap SoCs only have device drivers that are using Linux dmaengine API with the IRQENABLE_L1 interrupts. Only omap1 is still using old legacy dma. This means we can remove the legacy sdma interrupt handling for IRQENABLE_L0, and only rely on the dmaengine driver using IRQENABLE_L1. The legacy code still allocates the channels, but that will be deal with in the following patches.

Tony Lindgren committed 6 years ago

Commit 755cbfd1 parent 28b5afc3 files · +8 −244Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/omap-dma.h+0−4
@@ -129,7 +129,6 @@ · 128 unmodified lines
129129 #define IS_WORD_16 BIT(0xd)
130130 #define ENABLE_16XX_MODE BIT(0xe)
131131 #define HS_CHANNELS_RESERVED BIT(0xf)
132−#define DMA_ENGINE_HANDLE_IRQ BIT(0x10)
133132
134133 /* Defines for DMA Capabilities */
135134 #define DMA_HAS_TRANSPARENT_CAPS (0x1 << 18)
@@ -239,9 +238,6 @@ struct omap_dma_lch { · 103 unmodified lines
239238 void (*callback)(int lch, u16 ch_status, void *data);
240239 void *data;
241240 long flags;
242− /* required for Dynamic chaining */
243− int prev_linked_ch;
244− int next_linked_ch;
245241 int state;
246242 int chain_id;
247243 int status;