kirkwood-dma.c (10a558374f3751cf4eb55143008975641dfc2cf4) kirkwood-dma.c (f98fc0f8154ed17a00a588f1a95f02cb3e33b0d0)
1/*
2 * kirkwood-dma.c
3 *
4 * (c) 2010 Arnaud Patard <apatard@mandriva.com>
5 * (c) 2010 Arnaud Patard <arnaud.patard@rtp-net.org>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the

--- 304 unchanged lines hidden (view full) ---

313 continue;
314
315 dma_free_coherent(pcm->card->dev, buf->bytes,
316 buf->area, buf->addr);
317 buf->area = NULL;
318 }
319}
320
1/*
2 * kirkwood-dma.c
3 *
4 * (c) 2010 Arnaud Patard <apatard@mandriva.com>
5 * (c) 2010 Arnaud Patard <arnaud.patard@rtp-net.org>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the

--- 304 unchanged lines hidden (view full) ---

313 continue;
314
315 dma_free_coherent(pcm->card->dev, buf->bytes,
316 buf->area, buf->addr);
317 buf->area = NULL;
318 }
319}
320
321const struct snd_soc_platform_driver kirkwood_soc_platform = {
321const struct snd_soc_component_driver kirkwood_soc_component = {
322 .name = DRV_NAME,
322 .ops = &kirkwood_dma_ops,
323 .pcm_new = kirkwood_dma_new,
324 .pcm_free = kirkwood_dma_free_dma_buffers,
325};
323 .ops = &kirkwood_dma_ops,
324 .pcm_new = kirkwood_dma_new,
325 .pcm_free = kirkwood_dma_free_dma_buffers,
326};