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

Side by Side Diff: sound/soc/samsung/s3c-i2s-v2.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/s3c-i2s-v2.h ('k') | sound/soc/samsung/s3c2412-i2s.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* sound/soc/s3c24xx/s3c-i2c-v2.c 1 /* sound/soc/samsung/s3c-i2c-v2.c
2 * 2 *
3 * ALSA Soc Audio Layer - I2S core for newer Samsung SoCs. 3 * ALSA Soc Audio Layer - I2S core for newer Samsung SoCs.
4 * 4 *
5 * Copyright (c) 2006 Wolfson Microelectronics PLC. 5 * Copyright (c) 2006 Wolfson Microelectronics PLC.
6 * Graeme Gregory graeme.gregory@wolfsonmicro.com 6 * Graeme Gregory graeme.gregory@wolfsonmicro.com
7 * linux@wolfsonmicro.com 7 * linux@wolfsonmicro.com
8 * 8 *
9 * Copyright (c) 2008, 2007, 2004-2005 Simtec Electronics 9 * Copyright (c) 2008, 2007, 2004-2005 Simtec Electronics
10 * http://armlinux.simtec.co.uk/ 10 * http://armlinux.simtec.co.uk/
11 * Ben Dooks <ben@simtec.co.uk> 11 * Ben Dooks <ben@simtec.co.uk>
12 * 12 *
13 * This program is free software; you can redistribute it and/or modify it 13 * This program is free software; you can redistribute it and/or modify it
14 * under the terms of the GNU General Public License as published by the 14 * under the terms of the GNU General Public License as published by the
15 * Free Software Foundation; either version 2 of the License, or (at your 15 * Free Software Foundation; either version 2 of the License, or (at your
16 * option) any later version. 16 * option) any later version.
17 */ 17 */
18 18
19 #include <linux/delay.h> 19 #include <linux/delay.h>
20 #include <linux/clk.h> 20 #include <linux/clk.h>
21 #include <linux/io.h> 21 #include <linux/io.h>
22 22
23 #include <sound/pcm.h> 23 #include <sound/soc.h>
24 #include <sound/pcm_params.h> 24 #include <sound/pcm_params.h>
25 #include <sound/soc.h>
26 25
27 #include <mach/dma.h> 26 #include <mach/dma.h>
28 27
29 #include "regs-i2s-v2.h" 28 #include "regs-i2s-v2.h"
30 #include "s3c-i2s-v2.h" 29 #include "s3c-i2s-v2.h"
31 #include "s3c-dma.h" 30 #include "dma.h"
32 31
33 #undef S3C_IIS_V2_SUPPORTED 32 #undef S3C_IIS_V2_SUPPORTED
34 33
35 #if defined(CONFIG_CPU_S3C2412) || defined(CONFIG_CPU_S3C2413) \ 34 #if defined(CONFIG_CPU_S3C2412) || defined(CONFIG_CPU_S3C2413) \
36 || defined(CONFIG_CPU_S5PV210) 35 || defined(CONFIG_CPU_S5PV210)
37 #define S3C_IIS_V2_SUPPORTED 36 #define S3C_IIS_V2_SUPPORTED
38 #endif 37 #endif
39 38
40 #ifdef CONFIG_PLAT_S3C64XX 39 #ifdef CONFIG_PLAT_S3C64XX
41 #define S3C_IIS_V2_SUPPORTED 40 #define S3C_IIS_V2_SUPPORTED
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 ops->delay = s3c2412_i2s_delay; 747 ops->delay = s3c2412_i2s_delay;
749 748
750 drv->suspend = s3c2412_i2s_suspend; 749 drv->suspend = s3c2412_i2s_suspend;
751 drv->resume = s3c2412_i2s_resume; 750 drv->resume = s3c2412_i2s_resume;
752 751
753 return snd_soc_register_dai(dev, drv); 752 return snd_soc_register_dai(dev, drv);
754 } 753 }
755 EXPORT_SYMBOL_GPL(s3c_i2sv2_register_dai); 754 EXPORT_SYMBOL_GPL(s3c_i2sv2_register_dai);
756 755
757 MODULE_LICENSE("GPL"); 756 MODULE_LICENSE("GPL");
OLDNEW
« no previous file with comments | « sound/soc/samsung/s3c-i2s-v2.h ('k') | sound/soc/samsung/s3c2412-i2s.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698