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

Side by Side Diff: sound/soc/pxa/pxa-ssp.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/pxa/poodle.c ('k') | sound/soc/pxa/raumfeld.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 * pxa-ssp.c -- ALSA Soc Audio Layer 2 * pxa-ssp.c -- ALSA Soc Audio Layer
3 * 3 *
4 * Copyright 2005,2008 Wolfson Microelectronics PLC. 4 * Copyright 2005,2008 Wolfson Microelectronics PLC.
5 * Author: Liam Girdwood 5 * Author: Liam Girdwood
6 * Mark Brown <broonie@opensource.wolfsonmicro.com> 6 * Mark Brown <broonie@opensource.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 * TODO: 13 * TODO:
14 * o Test network mode for > 16bit sample size 14 * o Test network mode for > 16bit sample size
15 */ 15 */
16 16
17 #include <linux/init.h> 17 #include <linux/init.h>
18 #include <linux/module.h> 18 #include <linux/module.h>
19 #include <linux/slab.h> 19 #include <linux/slab.h>
20 #include <linux/platform_device.h> 20 #include <linux/platform_device.h>
21 #include <linux/clk.h> 21 #include <linux/clk.h>
22 #include <linux/io.h> 22 #include <linux/io.h>
23 #include <linux/pxa2xx_ssp.h>
23 24
24 #include <asm/irq.h> 25 #include <asm/irq.h>
25 26
26 #include <sound/core.h> 27 #include <sound/core.h>
27 #include <sound/pcm.h> 28 #include <sound/pcm.h>
28 #include <sound/initval.h> 29 #include <sound/initval.h>
29 #include <sound/pcm_params.h> 30 #include <sound/pcm_params.h>
30 #include <sound/soc.h> 31 #include <sound/soc.h>
31 #include <sound/pxa2xx-lib.h> 32 #include <sound/pxa2xx-lib.h>
32 33
33 #include <mach/hardware.h> 34 #include <mach/hardware.h>
34 #include <mach/dma.h> 35 #include <mach/dma.h>
35 #include <mach/audio.h> 36 #include <mach/audio.h>
36 #include <plat/ssp.h>
37 37
38 #include "../../arm/pxa2xx-pcm.h" 38 #include "../../arm/pxa2xx-pcm.h"
39 #include "pxa-ssp.h" 39 #include "pxa-ssp.h"
40 40
41 /* 41 /*
42 * SSP audio private data 42 * SSP audio private data
43 */ 43 */
44 struct ssp_priv { 44 struct ssp_priv {
45 struct ssp_device *ssp; 45 struct ssp_device *ssp;
46 unsigned int sysclk; 46 unsigned int sysclk;
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 static void __exit pxa_ssp_exit(void) 834 static void __exit pxa_ssp_exit(void)
835 { 835 {
836 platform_driver_unregister(&asoc_ssp_driver); 836 platform_driver_unregister(&asoc_ssp_driver);
837 } 837 }
838 module_exit(pxa_ssp_exit); 838 module_exit(pxa_ssp_exit);
839 839
840 /* Module information */ 840 /* Module information */
841 MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>"); 841 MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>");
842 MODULE_DESCRIPTION("PXA SSP/PCM SoC Interface"); 842 MODULE_DESCRIPTION("PXA SSP/PCM SoC Interface");
843 MODULE_LICENSE("GPL"); 843 MODULE_LICENSE("GPL");
OLDNEW
« no previous file with comments | « sound/soc/pxa/poodle.c ('k') | sound/soc/pxa/raumfeld.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698