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

Unified Diff: sound/soc/tegra/tegra_pcm.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sound/soc/tegra/tegra_i2s.c ('k') | sound/soc/tegra/tegra_soc.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sound/soc/tegra/tegra_pcm.c
diff --git a/sound/soc/tegra/tegra_pcm.c b/sound/soc/tegra/tegra_pcm.c
old mode 100755
new mode 100644
index 3a0fec1de5bdc36bed13a99bd483536affab2a9d..40540b175f5ee82d62a0c5721eeefcf33f3b001a
--- a/sound/soc/tegra/tegra_pcm.c
+++ b/sound/soc/tegra/tegra_pcm.c
@@ -39,6 +39,8 @@
#include "tegra_pcm.h"
+#define DRV_NAME "tegra-pcm-audio"
+
static const struct snd_pcm_hardware tegra_pcm_hardware = {
.info = SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_MMAP_VALID |
@@ -263,6 +265,7 @@ static snd_pcm_uframes_t tegra_pcm_pointer(struct snd_pcm_substream *substream)
return prtd->period_index * runtime->period_size;
}
+
static int tegra_pcm_mmap(struct snd_pcm_substream *substream,
struct vm_area_struct *vma)
{
@@ -376,7 +379,7 @@ static int __devexit tegra_pcm_platform_remove(struct platform_device *pdev)
static struct platform_driver tegra_pcm_driver = {
.driver = {
- .name = "tegra-pcm-audio",
+ .name = DRV_NAME,
.owner = THIS_MODULE,
},
.probe = tegra_pcm_platform_probe,
@@ -398,3 +401,4 @@ module_exit(snd_tegra_pcm_exit);
MODULE_AUTHOR("Stephen Warren <swarren@nvidia.com>");
MODULE_DESCRIPTION("Tegra PCM ASoC driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:" DRV_NAME);
« no previous file with comments | « sound/soc/tegra/tegra_i2s.c ('k') | sound/soc/tegra/tegra_soc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698