summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm_adsp.h
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>2015-06-11 11:32:32 +0100
committerMark Brown <broonie@kernel.org>2015-06-11 11:39:39 +0100
commitf9f55e31f8a537b7eaccc4fdb243cff938fa428c (patch)
treeb81ddba619db305382f03242c0084f6fcd4b495c /sound/soc/codecs/wm_adsp.h
parent218e508784b6d4d047fa25ce45761043c6840fec (diff)
downloadlwn-f9f55e31f8a537b7eaccc4fdb243cff938fa428c.tar.gz
lwn-f9f55e31f8a537b7eaccc4fdb243cff938fa428c.zip
ASoC: wm_adsp: Add basic debugfs entries
This patch adds some debugfs nodes to get information about the currently running firmware. Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm_adsp.h')
-rw-r--r--sound/soc/codecs/wm_adsp.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm_adsp.h b/sound/soc/codecs/wm_adsp.h
index 90596326c0d5..5042cbd39e54 100644
--- a/sound/soc/codecs/wm_adsp.h
+++ b/sound/soc/codecs/wm_adsp.h
@@ -46,17 +46,26 @@ struct wm_adsp {
struct list_head alg_regions;
int fw_id;
+ int fw_id_version;
const struct wm_adsp_region *mem;
int num_mems;
int fw;
int fw_ver;
- bool running;
+ u32 running;
struct list_head ctl_list;
struct work_struct boot_work;
+
+#ifdef CONFIG_DEBUG_FS
+ struct dentry *debugfs_root;
+ struct mutex debugfs_lock;
+ char *wmfw_file_name;
+ char *bin_file_name;
+#endif
+
};
#define WM_ADSP1(wname, num) \