| OLD | NEW |
| 1 /* | 1 /* |
| 2 * ASoC driver for Lyrtech SFFSDR board. | 2 * ASoC driver for Lyrtech SFFSDR board. |
| 3 * | 3 * |
| 4 * Author: Hugo Villeneuve | 4 * Author: Hugo Villeneuve |
| 5 * Copyright (C) 2008 Lyrtech inc | 5 * Copyright (C) 2008 Lyrtech inc |
| 6 * | 6 * |
| 7 * Based on ASoC driver for TI DAVINCI EVM platform, original copyright follow: | 7 * Based on ASoC driver for TI DAVINCI EVM platform, original copyright follow: |
| 8 * Copyright: (C) 2007 MontaVista Software, Inc., <source@mvista.com> | 8 * Copyright: (C) 2007 MontaVista Software, Inc., <source@mvista.com> |
| 9 * | 9 * |
| 10 * This program is free software; you can redistribute it and/or modify | 10 * This program is free software; you can redistribute it and/or modify |
| 11 * it under the terms of the GNU General Public License version 2 as | 11 * it under the terms of the GNU General Public License version 2 as |
| 12 * published by the Free Software Foundation. | 12 * published by the Free Software Foundation. |
| 13 */ | 13 */ |
| 14 | 14 |
| 15 #include <linux/module.h> | 15 #include <linux/module.h> |
| 16 #include <linux/moduleparam.h> | 16 #include <linux/moduleparam.h> |
| 17 #include <linux/timer.h> | 17 #include <linux/timer.h> |
| 18 #include <linux/interrupt.h> | 18 #include <linux/interrupt.h> |
| 19 #include <linux/platform_device.h> | 19 #include <linux/platform_device.h> |
| 20 #include <linux/gpio.h> | 20 #include <linux/gpio.h> |
| 21 #include <sound/core.h> | 21 #include <sound/core.h> |
| 22 #include <sound/pcm.h> | 22 #include <sound/pcm.h> |
| 23 #include <sound/soc.h> | 23 #include <sound/soc.h> |
| 24 #include <sound/soc-dapm.h> | |
| 25 | 24 |
| 26 #include <asm/dma.h> | 25 #include <asm/dma.h> |
| 27 #include <asm/mach-types.h> | 26 #include <asm/mach-types.h> |
| 28 #ifdef CONFIG_SFFSDR_FPGA | 27 #ifdef CONFIG_SFFSDR_FPGA |
| 29 #include <asm/plat-sffsdr/sffsdr-fpga.h> | 28 #include <asm/plat-sffsdr/sffsdr-fpga.h> |
| 30 #endif | 29 #endif |
| 31 | 30 |
| 32 #include <mach/edma.h> | 31 #include <mach/edma.h> |
| 33 | 32 |
| 34 #include "../codecs/pcm3008.h" | 33 #include "../codecs/pcm3008.h" |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 platform_device_unregister(sffsdr_snd_device); | 171 platform_device_unregister(sffsdr_snd_device); |
| 173 platform_device_unregister(&pcm3008_codec); | 172 platform_device_unregister(&pcm3008_codec); |
| 174 } | 173 } |
| 175 | 174 |
| 176 module_init(sffsdr_init); | 175 module_init(sffsdr_init); |
| 177 module_exit(sffsdr_exit); | 176 module_exit(sffsdr_exit); |
| 178 | 177 |
| 179 MODULE_AUTHOR("Hugo Villeneuve"); | 178 MODULE_AUTHOR("Hugo Villeneuve"); |
| 180 MODULE_DESCRIPTION("Lyrtech SFFSDR ASoC driver"); | 179 MODULE_DESCRIPTION("Lyrtech SFFSDR ASoC driver"); |
| 181 MODULE_LICENSE("GPL"); | 180 MODULE_LICENSE("GPL"); |
| OLD | NEW |