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

Side by Side Diff: sound/soc/imx/eukrea-tlv320.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/fsl/p1022_ds.c ('k') | sound/soc/imx/imx-ssi.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 * eukrea-tlv320.c -- SoC audio for eukrea_cpuimxXX in I2S mode 2 * eukrea-tlv320.c -- SoC audio for eukrea_cpuimxXX in I2S mode
3 * 3 *
4 * Copyright 2010 Eric Bénard, Eukréa Electromatique <eric@eukrea.com> 4 * Copyright 2010 Eric Bénard, Eukréa Electromatique <eric@eukrea.com>
5 * 5 *
6 * based on sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c 6 * based on sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c
7 * which is Copyright 2009 Simtec Electronics 7 * which is Copyright 2009 Simtec Electronics
8 * and on sound/soc/imx/phycore-ac97.c which is 8 * and on sound/soc/imx/phycore-ac97.c which is
9 * Copyright 2009 Sascha Hauer, Pengutronix <s.hauer@pengutronix.de> 9 * Copyright 2009 Sascha Hauer, Pengutronix <s.hauer@pengutronix.de>
10 * 10 *
11 * This program is free software; you can redistribute it and/or modify it 11 * This program is free software; you can redistribute it and/or modify it
12 * under the terms of the GNU General Public License as published by the 12 * under the terms of the GNU General Public License as published by the
13 * Free Software Foundation; either version 2 of the License, or (at your 13 * Free Software Foundation; either version 2 of the License, or (at your
14 * option) any later version. 14 * option) any later version.
15 * 15 *
16 */ 16 */
17 17
18 #include <linux/module.h> 18 #include <linux/module.h>
19 #include <linux/moduleparam.h> 19 #include <linux/moduleparam.h>
20 #include <linux/device.h> 20 #include <linux/device.h>
21 #include <linux/i2c.h> 21 #include <linux/i2c.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 #include <asm/mach-types.h> 25 #include <asm/mach-types.h>
27 26
28 #include "../codecs/tlv320aic23.h" 27 #include "../codecs/tlv320aic23.h"
29 #include "imx-ssi.h" 28 #include "imx-ssi.h"
30 29
31 #define CODEC_CLOCK 12000000 30 #define CODEC_CLOCK 12000000
32 31
33 static int eukrea_tlv320_hw_params(struct snd_pcm_substream *substream, 32 static int eukrea_tlv320_hw_params(struct snd_pcm_substream *substream,
34 struct snd_pcm_hw_params *params) 33 struct snd_pcm_hw_params *params)
35 { 34 {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 { 121 {
123 platform_device_unregister(eukrea_tlv320_snd_device); 122 platform_device_unregister(eukrea_tlv320_snd_device);
124 } 123 }
125 124
126 module_init(eukrea_tlv320_init); 125 module_init(eukrea_tlv320_init);
127 module_exit(eukrea_tlv320_exit); 126 module_exit(eukrea_tlv320_exit);
128 127
129 MODULE_AUTHOR("Eric Bénard <eric@eukrea.com>"); 128 MODULE_AUTHOR("Eric Bénard <eric@eukrea.com>");
130 MODULE_DESCRIPTION("CPUIMX ALSA SoC driver"); 129 MODULE_DESCRIPTION("CPUIMX ALSA SoC driver");
131 MODULE_LICENSE("GPL"); 130 MODULE_LICENSE("GPL");
OLDNEW
« no previous file with comments | « sound/soc/fsl/p1022_ds.c ('k') | sound/soc/imx/imx-ssi.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698