aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/tegra')
-rw-r--r--sound/soc/tegra/tegra_das.c5
-rw-r--r--sound/soc/tegra/tegra_i2s.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/sound/soc/tegra/tegra_das.c b/sound/soc/tegra/tegra_das.c
index 796d36d..01eb9c9 100644
--- a/sound/soc/tegra/tegra_das.c
+++ b/sound/soc/tegra/tegra_das.c
@@ -144,8 +144,9 @@ static const struct file_operations tegra_das_debug_fops = {
static void tegra_das_debug_add(struct tegra_das *das)
{
- das->debug = debugfs_create_file(DRV_NAME, S_IRUGO, asoc_debugfs_root,
- das, &tegra_das_debug_fops);
+ das->debug = debugfs_create_file(DRV_NAME, S_IRUGO,
+ snd_soc_debugfs_root, das,
+ &tegra_das_debug_fops);
}
static void tegra_das_debug_remove(struct tegra_das *das)
diff --git a/sound/soc/tegra/tegra_i2s.c b/sound/soc/tegra/tegra_i2s.c
index 9b7a22a..1730509 100644
--- 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);
}