| OLD | NEW |
| 1 /* | 1 /* |
| 2 * omap2evm.c -- SoC audio machine driver for omap2evm board | 2 * omap2evm.c -- SoC audio machine driver for omap2evm board |
| 3 * | 3 * |
| 4 * Author: Arun KS <arunks@mistralsolutions.com> | 4 * Author: Arun KS <arunks@mistralsolutions.com> |
| 5 * | 5 * |
| 6 * Based on sound/soc/omap/overo.c by Steve Sakoman | 6 * Based on sound/soc/omap/overo.c by Steve Sakoman |
| 7 * | 7 * |
| 8 * This program is free software; you can redistribute it and/or | 8 * This program is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU General Public License | 9 * modify it under the terms of the GNU General Public License |
| 10 * version 2 as published by the Free Software Foundation. | 10 * version 2 as published by the Free Software Foundation. |
| 11 * | 11 * |
| 12 * This program is distributed in the hope that it will be useful, but | 12 * This program is distributed in the hope that it will be useful, but |
| 13 * WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 * General Public License for more details. | 15 * General Public License for more details. |
| 16 * | 16 * |
| 17 * You should have received a copy of the GNU General Public License | 17 * You should have received a copy of the GNU General Public License |
| 18 * along with this program; if not, write to the Free Software | 18 * along with this program; if not, write to the Free Software |
| 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA |
| 20 * 02110-1301 USA | 20 * 02110-1301 USA |
| 21 * | 21 * |
| 22 */ | 22 */ |
| 23 | 23 |
| 24 #include <linux/clk.h> | 24 #include <linux/clk.h> |
| 25 #include <linux/platform_device.h> | 25 #include <linux/platform_device.h> |
| 26 #include <sound/core.h> | 26 #include <sound/core.h> |
| 27 #include <sound/pcm.h> | 27 #include <sound/pcm.h> |
| 28 #include <sound/soc.h> | 28 #include <sound/soc.h> |
| 29 #include <sound/soc-dapm.h> | |
| 30 | 29 |
| 31 #include <asm/mach-types.h> | 30 #include <asm/mach-types.h> |
| 32 #include <mach/hardware.h> | 31 #include <mach/hardware.h> |
| 33 #include <mach/gpio.h> | 32 #include <mach/gpio.h> |
| 34 #include <plat/mcbsp.h> | 33 #include <plat/mcbsp.h> |
| 35 | 34 |
| 36 #include "omap-mcbsp.h" | 35 #include "omap-mcbsp.h" |
| 37 #include "omap-pcm.h" | 36 #include "omap-pcm.h" |
| 38 | 37 |
| 39 static int omap2evm_hw_params(struct snd_pcm_substream *substream, | 38 static int omap2evm_hw_params(struct snd_pcm_substream *substream, |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 | 130 |
| 132 static void __exit omap2evm_soc_exit(void) | 131 static void __exit omap2evm_soc_exit(void) |
| 133 { | 132 { |
| 134 platform_device_unregister(omap2evm_snd_device); | 133 platform_device_unregister(omap2evm_snd_device); |
| 135 } | 134 } |
| 136 module_exit(omap2evm_soc_exit); | 135 module_exit(omap2evm_soc_exit); |
| 137 | 136 |
| 138 MODULE_AUTHOR("Arun KS <arunks@mistralsolutions.com>"); | 137 MODULE_AUTHOR("Arun KS <arunks@mistralsolutions.com>"); |
| 139 MODULE_DESCRIPTION("ALSA SoC omap2evm"); | 138 MODULE_DESCRIPTION("ALSA SoC omap2evm"); |
| 140 MODULE_LICENSE("GPL"); | 139 MODULE_LICENSE("GPL"); |
| OLD | NEW |