| OLD | NEW |
| 1 /* | 1 /* |
| 2 * omap3evm.c -- ALSA SoC support for OMAP3 EVM | 2 * omap3evm.c -- ALSA SoC support for OMAP3 EVM |
| 3 * | 3 * |
| 4 * Author: Anuj Aggarwal <anuj.aggarwal@ti.com> | 4 * Author: Anuj Aggarwal <anuj.aggarwal@ti.com> |
| 5 * | 5 * |
| 6 * Based on sound/soc/omap/beagle.c by Steve Sakoman | 6 * Based on sound/soc/omap/beagle.c by Steve Sakoman |
| 7 * | 7 * |
| 8 * Copyright (C) 2008 Texas Instruments, Incorporated | 8 * Copyright (C) 2008 Texas Instruments, Incorporated |
| 9 * | 9 * |
| 10 * This program is free software; you can redistribute it and/or modify it | 10 * This program is free software; you can redistribute it and/or modify it |
| 11 * under the terms of the GNU General Public License as published by the | 11 * under the terms of the GNU General Public License as published by the |
| 12 * Free Software Foundation version 2. | 12 * Free Software Foundation version 2. |
| 13 * | 13 * |
| 14 * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind, | 14 * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind, |
| 15 * whether express or implied; without even the implied warranty of | 15 * whether express or implied; without even the implied warranty of |
| 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 17 * General Public License for more details. | 17 * General Public License for more details. |
| 18 */ | 18 */ |
| 19 | 19 |
| 20 #include <linux/clk.h> | 20 #include <linux/clk.h> |
| 21 #include <linux/platform_device.h> | 21 #include <linux/platform_device.h> |
| 22 #include <sound/core.h> | 22 #include <sound/core.h> |
| 23 #include <sound/pcm.h> | 23 #include <sound/pcm.h> |
| 24 #include <sound/soc.h> | 24 #include <sound/soc.h> |
| 25 #include <sound/soc-dapm.h> | |
| 26 | 25 |
| 27 #include <asm/mach-types.h> | 26 #include <asm/mach-types.h> |
| 28 #include <mach/hardware.h> | 27 #include <mach/hardware.h> |
| 29 #include <mach/gpio.h> | 28 #include <mach/gpio.h> |
| 30 #include <plat/mcbsp.h> | 29 #include <plat/mcbsp.h> |
| 31 | 30 |
| 32 #include "omap-mcbsp.h" | 31 #include "omap-mcbsp.h" |
| 33 #include "omap-pcm.h" | 32 #include "omap-pcm.h" |
| 34 | 33 |
| 35 static int omap3evm_hw_params(struct snd_pcm_substream *substream, | 34 static int omap3evm_hw_params(struct snd_pcm_substream *substream, |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 { | 126 { |
| 128 platform_device_unregister(omap3evm_snd_device); | 127 platform_device_unregister(omap3evm_snd_device); |
| 129 } | 128 } |
| 130 | 129 |
| 131 module_init(omap3evm_soc_init); | 130 module_init(omap3evm_soc_init); |
| 132 module_exit(omap3evm_soc_exit); | 131 module_exit(omap3evm_soc_exit); |
| 133 | 132 |
| 134 MODULE_AUTHOR("Anuj Aggarwal <anuj.aggarwal@ti.com>"); | 133 MODULE_AUTHOR("Anuj Aggarwal <anuj.aggarwal@ti.com>"); |
| 135 MODULE_DESCRIPTION("ALSA SoC OMAP3 EVM"); | 134 MODULE_DESCRIPTION("ALSA SoC OMAP3 EVM"); |
| 136 MODULE_LICENSE("GPL v2"); | 135 MODULE_LICENSE("GPL v2"); |
| OLD | NEW |