From 538ecb5a05049fcd23043ed5c97e42c379e5ccb0 Mon Sep 17 00:00:00 2001 From: Vaibhav Agarwal Date: Wed, 13 Jan 2016 14:07:54 -0700 Subject: [PATCH] greybus: audio: cleanup unnecessary dev_err messages Replace unnecessary dev_err msg with dev_dbg. Same were added during development to trace topology parser progress. Signed-off-by: Vaibhav Agarwal Signed-off-by: Mark Greer Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/audio_topology.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/greybus/audio_topology.c b/drivers/staging/greybus/audio_topology.c index 8840a9c330de..b18574e91b5f 100644 --- a/drivers/staging/greybus/audio_topology.c +++ b/drivers/staging/greybus/audio_topology.c @@ -837,7 +837,7 @@ static int gbaudio_tplg_process_dais(struct gbaudio_codec_info *gbcodec, dai_name); if (!dai) goto error; - dev_err(gbcodec->dev, "%s:DAI added\n", dai->name); + dev_dbg(gbcodec->dev, "%s:DAI added\n", dai->name); gb_dais[i].name = dai->name; curr++; } @@ -1031,7 +1031,7 @@ int gbaudio_tplg_parse_data(struct gbaudio_codec_info *gbcodec, "%d: Error in parsing controls data\n", ret); return ret; } - dev_err(gbcodec->dev, "Control parsing finished\n"); + dev_dbg(gbcodec->dev, "Control parsing finished\n"); /* process DAI */ dais = (struct gb_audio_dai *)gbcodec->dai_offset; @@ -1041,7 +1041,7 @@ int gbaudio_tplg_parse_data(struct gbaudio_codec_info *gbcodec, "%d: Error in parsing DAIs data\n", ret); return ret; } - dev_err(gbcodec->dev, "DAI parsing finished\n"); + dev_dbg(gbcodec->dev, "DAI parsing finished\n"); /* process widgets */ widgets = (struct gb_audio_widget *)gbcodec->widget_offset; @@ -1051,7 +1051,7 @@ int gbaudio_tplg_parse_data(struct gbaudio_codec_info *gbcodec, "%d: Error in parsing widgets data\n", ret); return ret; } - dev_err(gbcodec->dev, "Widget parsing finished\n"); + dev_dbg(gbcodec->dev, "Widget parsing finished\n"); /* process route */ routes = (struct gb_audio_route *)gbcodec->route_offset; @@ -1061,7 +1061,7 @@ int gbaudio_tplg_parse_data(struct gbaudio_codec_info *gbcodec, "%d: Error in parsing routes data\n", ret); return ret; } - dev_err(gbcodec->dev, "Route parsing finished\n"); + dev_dbg(gbcodec->dev, "Route parsing finished\n"); return ret; } -- 2.20.1