>From 3d8174ddcd02c61ee40bf46da6a92650f8f0de2f Mon Sep 17 00:00:00 2001 From: Michele Curti Date: Fri, 29 May 2015 14:04:38 +0200 Subject: [PATCH 2/3] enable debug enable debug for common sst and baytrail sst Signed-off-by: Michele Curti --- sound/soc/intel/baytrail/sst-baytrail-dsp.c | 1 + sound/soc/intel/baytrail/sst-baytrail-ipc.c | 1 + sound/soc/intel/baytrail/sst-baytrail-pcm.c | 14 +++++++++++--- sound/soc/intel/boards/byt-rt5645.c | 1 + sound/soc/intel/common/sst-acpi.c | 1 + sound/soc/intel/common/sst-dsp.c | 1 + sound/soc/intel/common/sst-firmware.c | 1 + sound/soc/intel/common/sst-ipc.c | 1 + 8 files changed, 18 insertions(+), 3 deletions(-) diff --git a/sound/soc/intel/baytrail/sst-baytrail-dsp.c b/sound/soc/intel/baytrail/sst-baytrail-dsp.c index 01d023c..be9d7ac 100644 --- a/sound/soc/intel/baytrail/sst-baytrail-dsp.c +++ b/sound/soc/intel/baytrail/sst-baytrail-dsp.c @@ -12,6 +12,7 @@ * more details. */ +#define DEBUG 1 #include #include #include diff --git a/sound/soc/intel/baytrail/sst-baytrail-ipc.c b/sound/soc/intel/baytrail/sst-baytrail-ipc.c index 4c01bb4..32b0310 100644 --- a/sound/soc/intel/baytrail/sst-baytrail-ipc.c +++ b/sound/soc/intel/baytrail/sst-baytrail-ipc.c @@ -12,6 +12,7 @@ * more details. */ +#define DEBUG 1 #include #include #include diff --git a/sound/soc/intel/baytrail/sst-baytrail-pcm.c b/sound/soc/intel/baytrail/sst-baytrail-pcm.c index 79547be..3776759 100644 --- a/sound/soc/intel/baytrail/sst-baytrail-pcm.c +++ b/sound/soc/intel/baytrail/sst-baytrail-pcm.c @@ -12,6 +12,7 @@ * more details. */ +#define DEBUG 1 #include #include #include @@ -456,18 +457,25 @@ static int sst_byt_pcm_dev_probe(struct platform_device *pdev) int ret; ret = sst_byt_dsp_init(&pdev->dev, sst_pdata); - if (ret < 0) + if (ret < 0) { + pr_info("baytrail-pcm-audio: probe fail dsp\n"); return -ENODEV; + } ret = snd_soc_register_platform(&pdev->dev, &byt_soc_platform); - if (ret < 0) + if (ret < 0) { + pr_info("baytrail-pcm-audio: probe fail reg platform\n"); goto err_plat; + } ret = snd_soc_register_component(&pdev->dev, &byt_dai_component, byt_dais, ARRAY_SIZE(byt_dais)); - if (ret < 0) + if (ret < 0) { + pr_info("baytrail-pcm-audio: probe fail reg components\n"); goto err_comp; + } + pr_info("baytrail-pcm-audio: probe success\n"); return 0; err_comp: diff --git a/sound/soc/intel/boards/byt-rt5645.c b/sound/soc/intel/boards/byt-rt5645.c index 15a4e67..2f54dbc 100644 --- a/sound/soc/intel/boards/byt-rt5645.c +++ b/sound/soc/intel/boards/byt-rt5645.c @@ -12,6 +12,7 @@ * more details. */ +#define DEBUG 1 #include #include #include diff --git a/sound/soc/intel/common/sst-acpi.c b/sound/soc/intel/common/sst-acpi.c index bb28e84..e7014a2 100644 --- a/sound/soc/intel/common/sst-acpi.c +++ b/sound/soc/intel/common/sst-acpi.c @@ -14,6 +14,7 @@ * */ +#define DEBUG 1 #include #include #include diff --git a/sound/soc/intel/common/sst-dsp.c b/sound/soc/intel/common/sst-dsp.c index 64e9421..a1b0894 100644 --- a/sound/soc/intel/common/sst-dsp.c +++ b/sound/soc/intel/common/sst-dsp.c @@ -14,6 +14,7 @@ * */ +#define DEBUG 1 #include #include #include diff --git a/sound/soc/intel/common/sst-firmware.c b/sound/soc/intel/common/sst-firmware.c index ebcca6d..1fd4bb8 100644 --- a/sound/soc/intel/common/sst-firmware.c +++ b/sound/soc/intel/common/sst-firmware.c @@ -14,6 +14,7 @@ * */ +#define DEBUG 1 #include #include #include diff --git a/sound/soc/intel/common/sst-ipc.c b/sound/soc/intel/common/sst-ipc.c index a7699f3..339f171 100644 --- a/sound/soc/intel/common/sst-ipc.c +++ b/sound/soc/intel/common/sst-ipc.c @@ -14,6 +14,7 @@ * */ +#define DEBUG 1 #include #include #include -- 2.4.2