summaryrefslogtreecommitdiff
path: root/sound/soc/intel/catpt/device.c
diff options
context:
space:
mode:
authorCezary Rojewski <cezary.rojewski@intel.com>2020-09-29 17:12:41 +0300
committerMark Brown <broonie@kernel.org>2020-10-02 17:32:33 +0300
commit8ba1edb9c245e63c6750c4c77bfdba1230442d4d (patch)
tree0ca61e29874eee68562b6ab810fbc8ee664dc7c4 /sound/soc/intel/catpt/device.c
parent7a10b66a5df965ea4074aae265068b3483fa9fc6 (diff)
downloadlinux-8ba1edb9c245e63c6750c4c77bfdba1230442d4d.tar.xz
ASoC: Intel: catpt: Event tracing
Define tracing macros for easy catpt debug. These cover all IPC message types: requests, replies and notifications. Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200929141247.8058-9-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/catpt/device.c')
-rw-r--r--sound/soc/intel/catpt/device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/intel/catpt/device.c b/sound/soc/intel/catpt/device.c
index 96a4c1584720..0d2dd919de8d 100644
--- a/sound/soc/intel/catpt/device.c
+++ b/sound/soc/intel/catpt/device.c
@@ -25,6 +25,9 @@
#include "core.h"
#include "registers.h"
+#define CREATE_TRACE_POINTS
+#include "trace.h"
+
static int __maybe_unused catpt_suspend(struct device *dev)
{
struct catpt_dev *cdev = dev_get_drvdata(dev);