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

Side by Side Diff: sound/soc/omap/omap-mcbsp.h

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/omap/n810.c ('k') | sound/soc/omap/omap-mcbsp.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 * omap-mcbsp.h 2 * omap-mcbsp.h
3 * 3 *
4 * Copyright (C) 2008 Nokia Corporation 4 * Copyright (C) 2008 Nokia Corporation
5 * 5 *
6 * Contact: Jarkko Nikula <jhnikula@gmail.com> 6 * Contact: Jarkko Nikula <jhnikula@gmail.com>
7 * Peter Ujfalusi <peter.ujfalusi@nokia.com> 7 * Peter Ujfalusi <peter.ujfalusi@nokia.com>
8 * 8 *
9 * This program is free software; you can redistribute it and/or 9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License 10 * modify it under the terms of the GNU General Public License
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 OMAP_MCBSP_CLKGDV, /* Sample rate generator divider */ 43 OMAP_MCBSP_CLKGDV, /* Sample rate generator divider */
44 }; 44 };
45 45
46 #if defined(CONFIG_ARCH_OMAP2420) 46 #if defined(CONFIG_ARCH_OMAP2420)
47 #define NUM_LINKS 2 47 #define NUM_LINKS 2
48 #endif 48 #endif
49 #if defined(CONFIG_ARCH_OMAP15XX) || defined(CONFIG_ARCH_OMAP16XX) 49 #if defined(CONFIG_ARCH_OMAP15XX) || defined(CONFIG_ARCH_OMAP16XX)
50 #undef NUM_LINKS 50 #undef NUM_LINKS
51 #define NUM_LINKS 3 51 #define NUM_LINKS 3
52 #endif 52 #endif
53 #if defined(CONFIG_ARCH_OMAP4)
54 #undef NUM_LINKS
55 #define NUM_LINKS 4
56 #endif
53 #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3) 57 #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3)
54 #undef NUM_LINKS 58 #undef NUM_LINKS
55 #define NUM_LINKS 5 59 #define NUM_LINKS 5
56 #endif 60 #endif
57 61
58 int omap_mcbsp_st_add_controls(struct snd_soc_codec *codec, int mcbsp_id); 62 int omap_mcbsp_st_add_controls(struct snd_soc_codec *codec, int mcbsp_id);
59 63
60 #endif 64 #endif
OLDNEW
« no previous file with comments | « sound/soc/omap/n810.c ('k') | sound/soc/omap/omap-mcbsp.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698