fsl_dma.c (1ac731c529cd4d6adbce134754b51ff7d822b145) | fsl_dma.c (14ec63f678e8beaaa1005ccae6c112bf672ba2b3) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2// 3// Freescale DMA ALSA SoC PCM driver 4// 5// Author: Timur Tabi <timur@freescale.com> 6// 7// Copyright 2007-2010 Freescale Semiconductor, Inc. 8// --- 186 unchanged lines hidden (view full) --- 195 * 196 * @irq: IRQ of the DMA channel 197 * @dev_id: pointer to the dma_private structure for this DMA channel 198 */ 199static irqreturn_t fsl_dma_isr(int irq, void *dev_id) 200{ 201 struct fsl_dma_private *dma_private = dev_id; 202 struct snd_pcm_substream *substream = dma_private->substream; | 1// SPDX-License-Identifier: GPL-2.0 2// 3// Freescale DMA ALSA SoC PCM driver 4// 5// Author: Timur Tabi <timur@freescale.com> 6// 7// Copyright 2007-2010 Freescale Semiconductor, Inc. 8// --- 186 unchanged lines hidden (view full) --- 195 * 196 * @irq: IRQ of the DMA channel 197 * @dev_id: pointer to the dma_private structure for this DMA channel 198 */ 199static irqreturn_t fsl_dma_isr(int irq, void *dev_id) 200{ 201 struct fsl_dma_private *dma_private = dev_id; 202 struct snd_pcm_substream *substream = dma_private->substream; |
203 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); | 203 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); |
204 struct device *dev = rtd->dev; 205 struct ccsr_dma_channel __iomem *dma_channel = dma_private->dma_channel; 206 irqreturn_t ret = IRQ_NONE; 207 u32 sr, sr2 = 0; 208 209 /* We got an interrupt, so read the status register to see what we 210 were interrupted for. 211 */ --- 710 unchanged lines hidden --- | 204 struct device *dev = rtd->dev; 205 struct ccsr_dma_channel __iomem *dma_channel = dma_private->dma_channel; 206 irqreturn_t ret = IRQ_NONE; 207 u32 sr, sr2 = 0; 208 209 /* We got an interrupt, so read the status register to see what we 210 were interrupted for. 211 */ --- 710 unchanged lines hidden --- |