[Sound-open-firmware] [PATCH] SSP: Add trace print for config->format value into ssp_set_config()
This patch adds the trace information to BYT and APL platforms type SSP drivers. The traced value helps to determine the configured serial bus format.
Signed-off-by: Seppo Ingalsuo seppo.ingalsuo@linux.intel.com --- src/drivers/apl-ssp.c | 1 + src/drivers/byt-ssp.c | 1 + 2 files changed, 2 insertions(+)
diff --git a/src/drivers/apl-ssp.c b/src/drivers/apl-ssp.c index 53bb8be..6571b90 100644 --- a/src/drivers/apl-ssp.c +++ b/src/drivers/apl-ssp.c @@ -131,6 +131,7 @@ static inline int ssp_set_config(struct dai *dai, }
trace_ssp("cos"); + trace_value(config->format);
/* reset SSP settings */ /* sscr0 dynamic settings are DSS, EDSS, SCR, FRDC, ECS */ diff --git a/src/drivers/byt-ssp.c b/src/drivers/byt-ssp.c index ca3385d..d058c5f 100644 --- a/src/drivers/byt-ssp.c +++ b/src/drivers/byt-ssp.c @@ -117,6 +117,7 @@ static inline int ssp_set_config(struct dai *dai, }
trace_ssp("cos"); + trace_value(config->format);
/* reset SSP settings */ /* sscr0 dynamic settings are DSS, EDSS, SCR, FRDC, ECS */
On Mon, 2018-05-28 at 18:21 +0300, Seppo Ingalsuo wrote:
This patch adds the trace information to BYT and APL platforms type SSP drivers. The traced value helps to determine the configured serial bus format.
Signed-off-by: Seppo Ingalsuo seppo.ingalsuo@linux.intel.com
src/drivers/apl-ssp.c | 1 + src/drivers/byt-ssp.c | 1 + 2 files changed, 2 insertions(+)
diff --git a/src/drivers/apl-ssp.c b/src/drivers/apl-ssp.c index 53bb8be..6571b90 100644 --- a/src/drivers/apl-ssp.c +++ b/src/drivers/apl-ssp.c @@ -131,6 +131,7 @@ static inline int ssp_set_config(struct dai *dai, }
trace_ssp("cos");
- trace_value(config->format);
Applied.
Thanks
Liam
participants (2)
-
Liam Girdwood
-
Seppo Ingalsuo