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

Side by Side Diff: sound/soc/sh/siu_dai.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/sh/siu.h ('k') | sound/soc/sh/siu_pcm.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 * siu_dai.c - ALSA SoC driver for Renesas SH7343, SH7722 SIU peripheral. 2 * siu_dai.c - ALSA SoC driver for Renesas SH7343, SH7722 SIU peripheral.
3 * 3 *
4 * Copyright (C) 2009-2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de> 4 * Copyright (C) 2009-2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de>
5 * Copyright (C) 2006 Carlos Munoz <carlos@kenati.com> 5 * Copyright (C) 2006 Carlos Munoz <carlos@kenati.com>
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify 7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or 9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version. 10 * (at your option) any later version.
(...skipping 10 matching lines...) Expand all
21 21
22 #include <linux/delay.h> 22 #include <linux/delay.h>
23 #include <linux/firmware.h> 23 #include <linux/firmware.h>
24 #include <linux/pm_runtime.h> 24 #include <linux/pm_runtime.h>
25 #include <linux/slab.h> 25 #include <linux/slab.h>
26 26
27 #include <asm/clock.h> 27 #include <asm/clock.h>
28 #include <asm/siu.h> 28 #include <asm/siu.h>
29 29
30 #include <sound/control.h> 30 #include <sound/control.h>
31 #include <sound/soc-dai.h> 31 #include <sound/soc.h>
32 32
33 #include "siu.h" 33 #include "siu.h"
34 34
35 /* Board specifics */ 35 /* Board specifics */
36 #if defined(CONFIG_CPU_SUBTYPE_SH7722) 36 #if defined(CONFIG_CPU_SUBTYPE_SH7722)
37 # define SIU_MAX_VOLUME 0x1000 37 # define SIU_MAX_VOLUME 0x1000
38 #else 38 #else
39 # define SIU_MAX_VOLUME 0x7fff 39 # define SIU_MAX_VOLUME 0x7fff
40 #endif 40 #endif
41 41
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 { 860 {
861 platform_driver_unregister(&siu_driver); 861 platform_driver_unregister(&siu_driver);
862 } 862 }
863 863
864 module_init(siu_init) 864 module_init(siu_init)
865 module_exit(siu_exit) 865 module_exit(siu_exit)
866 866
867 MODULE_AUTHOR("Carlos Munoz <carlos@kenati.com>"); 867 MODULE_AUTHOR("Carlos Munoz <carlos@kenati.com>");
868 MODULE_DESCRIPTION("ALSA SoC SH7722 SIU driver"); 868 MODULE_DESCRIPTION("ALSA SoC SH7722 SIU driver");
869 MODULE_LICENSE("GPL"); 869 MODULE_LICENSE("GPL");
OLDNEW
« no previous file with comments | « sound/soc/sh/siu.h ('k') | sound/soc/sh/siu_pcm.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698