mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
ASoC: rsnd: Remove unnecessary rsnd_dbg_dai_call()
commitb43b8ae87c
("ASoC: rsnd: protect mod->status") removed RSND_DEBUG_NO_DAI_CALL and rsnd_dbg_dai_call(), but these are still exist on rsnd.h. This patch removes it. Fixes:b43b8ae87c
("ASoC: rsnd: protect mod->status") Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/875ycm6t7l.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
49123b51cd
commit
e5a3c491e1
@ -891,16 +891,6 @@ void rsnd_mod_make_sure(struct rsnd_mod *mod, enum rsnd_mod_type type);
|
|||||||
dev_info(dev, param); \
|
dev_info(dev, param); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
/*
|
|
||||||
* If you don't need rsnd_dai_call debug message,
|
|
||||||
* define RSND_DEBUG_NO_DAI_CALL as 1 on top of core.c
|
|
||||||
*
|
|
||||||
* #define RSND_DEBUG_NO_DAI_CALL 1
|
|
||||||
*/
|
|
||||||
#define rsnd_dbg_dai_call(dev, param...) \
|
|
||||||
if (!IS_BUILTIN(RSND_DEBUG_NO_DAI_CALL)) \
|
|
||||||
dev_dbg(dev, param)
|
|
||||||
|
|
||||||
#ifdef CONFIG_DEBUG_FS
|
#ifdef CONFIG_DEBUG_FS
|
||||||
int rsnd_debugfs_probe(struct snd_soc_component *component);
|
int rsnd_debugfs_probe(struct snd_soc_component *component);
|
||||||
void rsnd_debugfs_reg_show(struct seq_file *m, phys_addr_t _addr,
|
void rsnd_debugfs_reg_show(struct seq_file *m, phys_addr_t _addr,
|
||||||
|
Loading…
Reference in New Issue
Block a user