]>
Commit | Line | Data |
---|---|---|
c0f41bb1 | 1 | /* |
c0f41bb1 BD |
2 | * This program is free software; you can redistribute it and/or modify it |
3 | * under the terms of the GNU General Public License as published by the | |
4 | * Free Software Foundation; either version 2 of the License, or (at your | |
5 | * option) any later version. | |
6 | * | |
344b4c48 | 7 | * ALSA PCM interface for the Samsung SoC |
c0f41bb1 BD |
8 | */ |
9 | ||
9b08f30c SN |
10 | #ifndef _SAMSUNG_DMA_H |
11 | #define _SAMSUNG_DMA_H | |
c0f41bb1 | 12 | |
d37bdf73 | 13 | #include <sound/dmaengine_pcm.h> |
c0f41bb1 | 14 | |
42a74e77 SN |
15 | /* |
16 | * @tx, @rx arguments can be NULL if the DMA channel names are "tx", "rx", | |
17 | * otherwise actual DMA channel names must be passed to this function. | |
18 | */ | |
19 | int samsung_asoc_dma_platform_register(struct device *dev, dma_filter_fn filter, | |
20 | const char *tx, const char *rx); | |
9b08f30c | 21 | #endif /* _SAMSUNG_DMA_H */ |