| OLD | NEW |
| 1 /* | 1 /* |
| 2 * phycore-ac97.c -- SoC audio for imx_phycore in AC97 mode | 2 * phycore-ac97.c -- SoC audio for imx_phycore in AC97 mode |
| 3 * | 3 * |
| 4 * Copyright 2009 Sascha Hauer, Pengutronix <s.hauer@pengutronix.de> | 4 * Copyright 2009 Sascha Hauer, Pengutronix <s.hauer@pengutronix.de> |
| 5 * | 5 * |
| 6 * This program is free software; you can redistribute it and/or modify it | 6 * This program is free software; you can redistribute it and/or modify it |
| 7 * under the terms of the GNU General Public License as published by the | 7 * under the terms of the GNU General Public License as published by the |
| 8 * Free Software Foundation; either version 2 of the License, or (at your | 8 * Free Software Foundation; either version 2 of the License, or (at your |
| 9 * option) any later version. | 9 * option) any later version. |
| 10 * | 10 * |
| 11 */ | 11 */ |
| 12 | 12 |
| 13 #include <linux/module.h> | 13 #include <linux/module.h> |
| 14 #include <linux/moduleparam.h> | 14 #include <linux/moduleparam.h> |
| 15 #include <linux/device.h> | 15 #include <linux/device.h> |
| 16 #include <linux/i2c.h> | 16 #include <linux/i2c.h> |
| 17 #include <sound/core.h> | 17 #include <sound/core.h> |
| 18 #include <sound/pcm.h> | 18 #include <sound/pcm.h> |
| 19 #include <sound/soc.h> | 19 #include <sound/soc.h> |
| 20 #include <sound/soc-dapm.h> | |
| 21 #include <asm/mach-types.h> | 20 #include <asm/mach-types.h> |
| 22 | 21 |
| 23 static struct snd_soc_card imx_phycore; | 22 static struct snd_soc_card imx_phycore; |
| 24 | 23 |
| 25 static struct snd_soc_ops imx_phycore_hifi_ops = { | 24 static struct snd_soc_ops imx_phycore_hifi_ops = { |
| 26 }; | 25 }; |
| 27 | 26 |
| 28 static struct snd_soc_dai_link imx_phycore_dai_ac97[] = { | 27 static struct snd_soc_dai_link imx_phycore_dai_ac97[] = { |
| 29 { | 28 { |
| 30 .name = "HiFi", | 29 .name = "HiFi", |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 platform_device_unregister(imx_phycore_snd_device); | 90 platform_device_unregister(imx_phycore_snd_device); |
| 92 platform_device_unregister(imx_phycore_snd_ac97_device); | 91 platform_device_unregister(imx_phycore_snd_ac97_device); |
| 93 } | 92 } |
| 94 | 93 |
| 95 late_initcall(imx_phycore_init); | 94 late_initcall(imx_phycore_init); |
| 96 module_exit(imx_phycore_exit); | 95 module_exit(imx_phycore_exit); |
| 97 | 96 |
| 98 MODULE_AUTHOR("Sascha Hauer <s.hauer@pengutronix.de>"); | 97 MODULE_AUTHOR("Sascha Hauer <s.hauer@pengutronix.de>"); |
| 99 MODULE_DESCRIPTION("PhyCORE ALSA SoC driver"); | 98 MODULE_DESCRIPTION("PhyCORE ALSA SoC driver"); |
| 100 MODULE_LICENSE("GPL"); | 99 MODULE_LICENSE("GPL"); |
| OLD | NEW |