[Sound-open-firmware] [PATCH] comp: host: Add trace output for buffer size errors

Liam Girdwood liam.r.girdwood at linux.intel.com
Mon Sep 25 13:54:30 CEST 2017


Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 src/audio/host.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/audio/host.c b/src/audio/host.c
index a1d312a..76124fc 100644
--- a/src/audio/host.c
+++ b/src/audio/host.c
@@ -415,6 +415,7 @@ static int host_params(struct comp_dev *dev)
 	err = buffer_set_size(hd->dma_buffer, buffer_size);
 	if (err < 0) {
 		trace_host_error("eSz");
+		trace_value(buffer_size);
 		return err;
 	}
 
-- 
2.11.0



More information about the Sound-open-firmware mailing list