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

Side by Side Diff: sound/soc/samsung/s3c24xx_simtec.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/s3c24xx_simtec.h ('k') | sound/soc/samsung/s3c24xx_simtec_hermes.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 /* sound/soc/s3c24xx/s3c24xx_simtec.c 1 /* sound/soc/samsung/s3c24xx_simtec.c
2 * 2 *
3 * Copyright 2009 Simtec Electronics 3 * Copyright 2009 Simtec Electronics
4 * 4 *
5 * This program is free software; you can redistribute it and/or modify 5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as 6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 */ 8 */
9 9
10 #include <linux/module.h>
11 #include <linux/moduleparam.h>
12 #include <linux/platform_device.h>
13 #include <linux/gpio.h> 10 #include <linux/gpio.h>
14 #include <linux/clk.h> 11 #include <linux/clk.h>
15 #include <linux/i2c.h>
16 12
17 #include <sound/core.h>
18 #include <sound/pcm.h>
19 #include <sound/soc.h> 13 #include <sound/soc.h>
20 #include <sound/soc-dapm.h>
21 14
22 #include <plat/audio-simtec.h> 15 #include <plat/audio-simtec.h>
23 16
24 #include "s3c-dma.h"
25 #include "s3c24xx-i2s.h" 17 #include "s3c24xx-i2s.h"
26 #include "s3c24xx_simtec.h" 18 #include "s3c24xx_simtec.h"
27 19
28 static struct s3c24xx_audio_simtec_pdata *pdata; 20 static struct s3c24xx_audio_simtec_pdata *pdata;
29 static struct clk *xtal_clk; 21 static struct clk *xtal_clk;
30 22
31 static int spk_gain; 23 static int spk_gain;
32 static int spk_unmute; 24 static int spk_unmute;
33 25
34 /** 26 /**
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 378
387 detach_gpio_amp(pdata); 379 detach_gpio_amp(pdata);
388 clk_put(xtal_clk); 380 clk_put(xtal_clk);
389 return 0; 381 return 0;
390 } 382 }
391 EXPORT_SYMBOL_GPL(simtec_audio_remove); 383 EXPORT_SYMBOL_GPL(simtec_audio_remove);
392 384
393 MODULE_AUTHOR("Ben Dooks <ben@simtec.co.uk>"); 385 MODULE_AUTHOR("Ben Dooks <ben@simtec.co.uk>");
394 MODULE_DESCRIPTION("ALSA SoC Simtec Audio common support"); 386 MODULE_DESCRIPTION("ALSA SoC Simtec Audio common support");
395 MODULE_LICENSE("GPL"); 387 MODULE_LICENSE("GPL");
OLDNEW
« no previous file with comments | « sound/soc/samsung/s3c24xx_simtec.h ('k') | sound/soc/samsung/s3c24xx_simtec_hermes.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698