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
129#define IS_WORD_16 BIT(0xd)129#define IS_WORD_16 BIT(0xd)
130#define ENABLE_16XX_MODE BIT(0xe)130#define ENABLE_16XX_MODE BIT(0xe)
131#define HS_CHANNELS_RESERVED BIT(0xf)131#define HS_CHANNELS_RESERVED BIT(0xf)
132#define DMA_ENGINE_HANDLE_IRQ BIT(0x10)
133 132
134/* Defines for DMA Capabilities */133/* Defines for DMA Capabilities */
135#define DMA_HAS_TRANSPARENT_CAPS (0x1 << 18)134#define DMA_HAS_TRANSPARENT_CAPS (0x1 << 18)
@@ -239,9 +238,6 @@ struct omap_dma_lch { · 103 unmodified lines
239 void (*callback)(int lch, u16 ch_status, void *data);238 void (*callback)(int lch, u16 ch_status, void *data);
240 void *data;239 void *data;
241 long flags;240 long flags;
242 /* required for Dynamic chaining */
243 int prev_linked_ch;
244 int next_linked_ch;
245 int state;241 int state;
246 int chain_id;242 int chain_id;
247 int status;243 int status;