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

Side by Side Diff: sound/soc/samsung/spdif.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/spdif.h ('k') | sound/soc/sh/Kconfig » ('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/spdif.c 1 /* sound/soc/samsung/spdif.c
2 * 2 *
3 * ALSA SoC Audio Layer - Samsung S/PDIF Controller driver 3 * ALSA SoC Audio Layer - Samsung S/PDIF Controller driver
4 * 4 *
5 * Copyright (c) 2010 Samsung Electronics Co. Ltd 5 * Copyright (c) 2010 Samsung Electronics Co. Ltd
6 * http://www.samsung.com/ 6 * http://www.samsung.com/
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as 9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation. 10 * published by the Free Software Foundation.
11 */ 11 */
12 12
13 #include <linux/clk.h> 13 #include <linux/clk.h>
14 #include <linux/io.h> 14 #include <linux/io.h>
15 15
16 #include <sound/pcm.h> 16 #include <sound/soc.h>
17 #include <sound/pcm_params.h> 17 #include <sound/pcm_params.h>
18 #include <sound/soc.h>
19 18
20 #include <plat/audio.h> 19 #include <plat/audio.h>
21 #include <mach/dma.h> 20 #include <mach/dma.h>
22 21
23 #include "s3c-dma.h" 22 #include "dma.h"
24 #include "spdif.h" 23 #include "spdif.h"
25 24
26 /* Registers */ 25 /* Registers */
27 #define CLKCON 0x00 26 #define CLKCON 0x00
28 #define CON 0x04 27 #define CON 0x04
29 #define BSTAS 0x08 28 #define BSTAS 0x08
30 #define CSTAS 0x0C 29 #define CSTAS 0x0C
31 #define DATA_OUTBUF 0x10 30 #define DATA_OUTBUF 0x10
32 #define DCNT 0x14 31 #define DCNT 0x14
33 #define BSTAS_S 0x18 32 #define BSTAS_S 0x18
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 static void __exit spdif_exit(void) 491 static void __exit spdif_exit(void)
493 { 492 {
494 platform_driver_unregister(&samsung_spdif_driver); 493 platform_driver_unregister(&samsung_spdif_driver);
495 } 494 }
496 module_exit(spdif_exit); 495 module_exit(spdif_exit);
497 496
498 MODULE_AUTHOR("Seungwhan Youn, <sw.youn@samsung.com>"); 497 MODULE_AUTHOR("Seungwhan Youn, <sw.youn@samsung.com>");
499 MODULE_DESCRIPTION("Samsung S/PDIF Controller Driver"); 498 MODULE_DESCRIPTION("Samsung S/PDIF Controller Driver");
500 MODULE_LICENSE("GPL"); 499 MODULE_LICENSE("GPL");
501 MODULE_ALIAS("platform:samsung-spdif"); 500 MODULE_ALIAS("platform:samsung-spdif");
OLDNEW
« no previous file with comments | « sound/soc/samsung/spdif.h ('k') | sound/soc/sh/Kconfig » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698