dbdma2.c (b2aaf8f74cdc84a9182f6cabf198b7763bcb9d40) dbdma2.c (958e792c7c8f06a9e666adb0ed94fff2cf90156f)
1/*
2 * Au12x0/Au1550 PSC ALSA ASoC audio support.
3 *
4 * (c) 2007-2008 MSC Vertriebsges.m.b.H.,
5 * Manuel Lauss <mano@roarinelk.homelinux.net>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

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

401 .pcm_free = au1xpsc_pcm_free_dma_buffers,
402};
403EXPORT_SYMBOL_GPL(au1xpsc_soc_platform);
404
405static int __init au1xpsc_audio_dbdma_init(void)
406{
407 au1xpsc_audio_pcmdma[PCM_TX] = NULL;
408 au1xpsc_audio_pcmdma[PCM_RX] = NULL;
1/*
2 * Au12x0/Au1550 PSC ALSA ASoC audio support.
3 *
4 * (c) 2007-2008 MSC Vertriebsges.m.b.H.,
5 * Manuel Lauss <mano@roarinelk.homelinux.net>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

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

401 .pcm_free = au1xpsc_pcm_free_dma_buffers,
402};
403EXPORT_SYMBOL_GPL(au1xpsc_soc_platform);
404
405static int __init au1xpsc_audio_dbdma_init(void)
406{
407 au1xpsc_audio_pcmdma[PCM_TX] = NULL;
408 au1xpsc_audio_pcmdma[PCM_RX] = NULL;
409 return 0;
409 return snd_soc_register_platform(&au1xpsc_soc_platform);
410}
411
412static void __exit au1xpsc_audio_dbdma_exit(void)
413{
410}
411
412static void __exit au1xpsc_audio_dbdma_exit(void)
413{
414 snd_soc_unregister_platform(&au1xpsc_soc_platform);
414}
415
416module_init(au1xpsc_audio_dbdma_init);
417module_exit(au1xpsc_audio_dbdma_exit);
418
419MODULE_LICENSE("GPL");
420MODULE_DESCRIPTION("Au12x0/Au1550 PSC Audio DMA driver");
421MODULE_AUTHOR("Manuel Lauss <mano@roarinelk.homelinux.net>");
415}
416
417module_init(au1xpsc_audio_dbdma_init);
418module_exit(au1xpsc_audio_dbdma_exit);
419
420MODULE_LICENSE("GPL");
421MODULE_DESCRIPTION("Au12x0/Au1550 PSC Audio DMA driver");
422MODULE_AUTHOR("Manuel Lauss <mano@roarinelk.homelinux.net>");