| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 Nuvoton technology corporation. | 2 * Copyright (c) 2010 Nuvoton technology corporation. |
| 3 * | 3 * |
| 4 * Wan ZongShun <mcuos.com@gmail.com> | 4 * Wan ZongShun <mcuos.com@gmail.com> |
| 5 * | 5 * |
| 6 * This program is free software; you can redistribute it and/or modify | 6 * This program is free software; you can redistribute it and/or modify |
| 7 * it under the terms of the GNU General Public License as published by | 7 * it under the terms of the GNU General Public License as published by |
| 8 * the Free Software Foundation;version 2 of the License. | 8 * the Free Software Foundation;version 2 of the License. |
| 9 * | 9 * |
| 10 */ | 10 */ |
| 11 | 11 |
| 12 #include <linux/module.h> | 12 #include <linux/module.h> |
| 13 #include <linux/moduleparam.h> | 13 #include <linux/moduleparam.h> |
| 14 #include <linux/timer.h> | 14 #include <linux/timer.h> |
| 15 #include <linux/interrupt.h> | 15 #include <linux/interrupt.h> |
| 16 #include <linux/platform_device.h> | 16 #include <linux/platform_device.h> |
| 17 | 17 |
| 18 #include <sound/core.h> | 18 #include <sound/core.h> |
| 19 #include <sound/pcm.h> | 19 #include <sound/pcm.h> |
| 20 #include <sound/soc.h> | 20 #include <sound/soc.h> |
| 21 #include <sound/soc-dapm.h> | |
| 22 | 21 |
| 23 #include "nuc900-audio.h" | 22 #include "nuc900-audio.h" |
| 24 | 23 |
| 25 static struct snd_soc_dai_link nuc900evb_ac97_dai = { | 24 static struct snd_soc_dai_link nuc900evb_ac97_dai = { |
| 26 .name = "AC97", | 25 .name = "AC97", |
| 27 .stream_name = "AC97 HiFi", | 26 .stream_name = "AC97 HiFi", |
| 28 .cpu_dai_name = "nuc900-ac97", | 27 .cpu_dai_name = "nuc900-ac97", |
| 29 .codec_dai_name = "ac97-hifi", | 28 .codec_dai_name = "ac97-hifi", |
| 30 .codec_name = "ac97-codec", | 29 .codec_name = "ac97-codec", |
| 31 .platform_name = "nuc900-pcm-audio", | 30 .platform_name = "nuc900-pcm-audio", |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 { | 65 { |
| 67 platform_device_unregister(nuc900evb_asoc_dev); | 66 platform_device_unregister(nuc900evb_asoc_dev); |
| 68 } | 67 } |
| 69 | 68 |
| 70 module_init(nuc900evb_audio_init); | 69 module_init(nuc900evb_audio_init); |
| 71 module_exit(nuc900evb_audio_exit); | 70 module_exit(nuc900evb_audio_exit); |
| 72 | 71 |
| 73 MODULE_LICENSE("GPL"); | 72 MODULE_LICENSE("GPL"); |
| 74 MODULE_DESCRIPTION("NUC900 Series ASoC audio support"); | 73 MODULE_DESCRIPTION("NUC900 Series ASoC audio support"); |
| 75 MODULE_AUTHOR("Wan ZongShun"); | 74 MODULE_AUTHOR("Wan ZongShun"); |
| OLD | NEW |