dma: export mxs_dma_disable

This commit is contained in:
Takumi Sueda 2020-11-01 03:08:05 +09:00 committed by Suguru Saito
parent 886c658486
commit f38dc6c7a5
2 changed files with 3 additions and 1 deletions

View File

@ -148,6 +148,8 @@ struct mxs_dma_chan {
struct list_head done;
};
int mxs_dma_disable(int chan);
struct mxs_dma_desc *mxs_dma_desc_alloc(void);
void mxs_dma_desc_free(struct mxs_dma_desc *);
int mxs_dma_desc_append(int channel, struct mxs_dma_desc *pdesc);

View File

@ -180,7 +180,7 @@ static int mxs_dma_enable(int channel)
* state. It is unwise to call this function if there is ANY chance the hardware
* is still processing a command.
*/
static int mxs_dma_disable(int channel)
int mxs_dma_disable(int channel)
{
struct mxs_dma_chan *pchan;
struct mxs_apbh_regs *apbh_regs =