Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: sound/soc/samsung/smdk2443_wm9710.c

Issue 6577007: CHROMIUM: ASoC: Import entire upstream ASoC tree (Closed)
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sound/soc/samsung/smartq_wm8987.c ('k') | sound/soc/samsung/smdk_spdif.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * smdk2443_wm9710.c -- SoC audio for smdk2443 2 * smdk2443_wm9710.c -- SoC audio for smdk2443
3 * 3 *
4 * Copyright 2007 Wolfson Microelectronics PLC. 4 * Copyright 2007 Wolfson Microelectronics PLC.
5 * Author: Graeme Gregory 5 * Author: Graeme Gregory
6 * graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com 6 * graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify it 8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the 9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your 10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version. 11 * option) any later version.
12 * 12 *
13 */ 13 */
14 14
15 #include <linux/module.h>
16 #include <linux/device.h>
17 #include <sound/core.h>
18 #include <sound/pcm.h>
19 #include <sound/soc.h> 15 #include <sound/soc.h>
20 #include <sound/soc-dapm.h>
21
22 #include "s3c-dma.h"
23 #include "s3c-ac97.h"
24 16
25 static struct snd_soc_card smdk2443; 17 static struct snd_soc_card smdk2443;
26 18
27 static struct snd_soc_dai_link smdk2443_dai[] = { 19 static struct snd_soc_dai_link smdk2443_dai[] = {
28 { 20 {
29 .name = "AC97", 21 .name = "AC97",
30 .stream_name = "AC97 HiFi", 22 .stream_name = "AC97 HiFi",
31 » .cpu_dai_name = "s3c-ac97", 23 » .cpu_dai_name = "samsung-ac97",
32 .codec_dai_name = "ac97-hifi", 24 .codec_dai_name = "ac97-hifi",
33 .codec_name = "ac97-codec", 25 .codec_name = "ac97-codec",
34 » .platform_name = "s3c24xx-pcm-audio", 26 » .platform_name = "samsung-audio",
35 }, 27 },
36 }; 28 };
37 29
38 static struct snd_soc_card smdk2443 = { 30 static struct snd_soc_card smdk2443 = {
39 .name = "SMDK2443", 31 .name = "SMDK2443",
40 .dai_link = smdk2443_dai, 32 .dai_link = smdk2443_dai,
41 .num_links = ARRAY_SIZE(smdk2443_dai), 33 .num_links = ARRAY_SIZE(smdk2443_dai),
42 }; 34 };
43 35
44 static struct platform_device *smdk2443_snd_ac97_device; 36 static struct platform_device *smdk2443_snd_ac97_device;
(...skipping 20 matching lines...) Expand all
65 platform_device_unregister(smdk2443_snd_ac97_device); 57 platform_device_unregister(smdk2443_snd_ac97_device);
66 } 58 }
67 59
68 module_init(smdk2443_init); 60 module_init(smdk2443_init);
69 module_exit(smdk2443_exit); 61 module_exit(smdk2443_exit);
70 62
71 /* Module information */ 63 /* Module information */
72 MODULE_AUTHOR("Graeme Gregory, graeme.gregory@wolfsonmicro.com, www.wolfsonmicro .com"); 64 MODULE_AUTHOR("Graeme Gregory, graeme.gregory@wolfsonmicro.com, www.wolfsonmicro .com");
73 MODULE_DESCRIPTION("ALSA SoC WM9710 SMDK2443"); 65 MODULE_DESCRIPTION("ALSA SoC WM9710 SMDK2443");
74 MODULE_LICENSE("GPL"); 66 MODULE_LICENSE("GPL");
OLDNEW
« no previous file with comments | « sound/soc/samsung/smartq_wm8987.c ('k') | sound/soc/samsung/smdk_spdif.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698