aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2008-10-13 20:42:14 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-10-30 10:34:02 -0400
commit12ef193d5817504621e503e78d641265f6a86ac4 (patch)
treea86c1cc9d7297561b0912f0b2c0332bf2ab993ca /include/sound/soc.h
parent15ad9a531a64d46af54839ab13542a81ad4c82a5 (diff)
ASoC: Allow setting codec register with debugfs filesystem
i.e. echo 6 59 >/sys/kernel/debug/soc-audio.0/codec_reg will set register 0x06 to a value of 0x59. Also, pop_time debugfs interface setup is moved so that it is setup in the same function as codec_reg Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index a1e0357a84d7..d33825d624a5 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -425,6 +425,7 @@ struct snd_soc_codec {
425 short reg_cache_step; 425 short reg_cache_step;
426 426
427 /* dapm */ 427 /* dapm */
428 u32 pop_time;
428 struct list_head dapm_widgets; 429 struct list_head dapm_widgets;
429 struct list_head dapm_paths; 430 struct list_head dapm_paths;
430 enum snd_soc_bias_level bias_level; 431 enum snd_soc_bias_level bias_level;
@@ -516,6 +517,9 @@ struct snd_soc_device {
516 struct delayed_work delayed_work; 517 struct delayed_work delayed_work;
517 struct work_struct deferred_resume_work; 518 struct work_struct deferred_resume_work;
518 void *codec_data; 519 void *codec_data;
520#ifdef CONFIG_DEBUG_FS
521 struct dentry *debugfs_root;
522#endif
519}; 523};
520 524
521/* runtime channel data */ 525/* runtime channel data */