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

Unified Diff: sound/soc/tegra/tegra_i2s.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_das.c ('k') | sound/soc/tegra/tegra_pcm.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sound/soc/tegra/tegra_i2s.c
diff --git a/sound/soc/tegra/tegra_i2s.c b/sound/soc/tegra/tegra_i2s.c
old mode 100755
new mode 100644
index 75d3bfecdf02a0a2a44da36946260ced2718c108..4f5e2c90b0207ce0be0b39bf90a946d27b8ece2a
--- a/sound/soc/tegra/tegra_i2s.c
+++ b/sound/soc/tegra/tegra_i2s.c
@@ -104,7 +104,7 @@ static void tegra_i2s_debug_add(struct tegra_i2s *i2s, int id)
char name[] = DRV_NAME ".0";
snprintf(name, sizeof(name), DRV_NAME".%1d", id);
- i2s->debug = debugfs_create_file(name, S_IRUGO, asoc_debugfs_root,
+ i2s->debug = debugfs_create_file(name, S_IRUGO, snd_soc_debugfs_root,
i2s, &tegra_i2s_debug_fops);
}
@@ -386,7 +386,7 @@ static __devinit int tegra_i2s_platform_probe(struct platform_device *pdev)
snprintf(clk_name, sizeof(clk_name), DRV_NAME ".%d", pdev->id);
i2s->clk_i2s = clk_get_sys(clk_name, NULL);
if (IS_ERR(i2s->clk_i2s)) {
- pr_err("Can't retrieve i2s clock\n");
+ dev_err(&pdev->dev, "Can't retrieve i2s clock\n");
ret = PTR_ERR(i2s->clk_i2s);
goto err_free;
}
@@ -500,3 +500,4 @@ module_exit(snd_tegra_i2s_exit);
MODULE_AUTHOR("Stephen Warren <swarren@nvidia.com>");
MODULE_DESCRIPTION("Tegra I2S ASoC driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:" DRV_NAME);
« no previous file with comments | « sound/soc/tegra/tegra_das.c ('k') | sound/soc/tegra/tegra_pcm.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698