Commit 538ecb5a authored by Vaibhav Agarwal's avatar Vaibhav Agarwal Committed by Greg Kroah-Hartman

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: default avatarVaibhav Agarwal <vaibhav.agarwal@linaro.org>
Signed-off-by: default avatarMark Greer <mgreer@animalcreek.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 17247da5
...@@ -837,7 +837,7 @@ static int gbaudio_tplg_process_dais(struct gbaudio_codec_info *gbcodec, ...@@ -837,7 +837,7 @@ static int gbaudio_tplg_process_dais(struct gbaudio_codec_info *gbcodec,
dai_name); dai_name);
if (!dai) if (!dai)
goto error; 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; gb_dais[i].name = dai->name;
curr++; curr++;
} }
...@@ -1031,7 +1031,7 @@ int gbaudio_tplg_parse_data(struct gbaudio_codec_info *gbcodec, ...@@ -1031,7 +1031,7 @@ int gbaudio_tplg_parse_data(struct gbaudio_codec_info *gbcodec,
"%d: Error in parsing controls data\n", ret); "%d: Error in parsing controls data\n", ret);
return ret; return ret;
} }
dev_err(gbcodec->dev, "Control parsing finished\n"); dev_dbg(gbcodec->dev, "Control parsing finished\n");
/* process DAI */ /* process DAI */
dais = (struct gb_audio_dai *)gbcodec->dai_offset; dais = (struct gb_audio_dai *)gbcodec->dai_offset;
...@@ -1041,7 +1041,7 @@ int gbaudio_tplg_parse_data(struct gbaudio_codec_info *gbcodec, ...@@ -1041,7 +1041,7 @@ int gbaudio_tplg_parse_data(struct gbaudio_codec_info *gbcodec,
"%d: Error in parsing DAIs data\n", ret); "%d: Error in parsing DAIs data\n", ret);
return ret; return ret;
} }
dev_err(gbcodec->dev, "DAI parsing finished\n"); dev_dbg(gbcodec->dev, "DAI parsing finished\n");
/* process widgets */ /* process widgets */
widgets = (struct gb_audio_widget *)gbcodec->widget_offset; widgets = (struct gb_audio_widget *)gbcodec->widget_offset;
...@@ -1051,7 +1051,7 @@ int gbaudio_tplg_parse_data(struct gbaudio_codec_info *gbcodec, ...@@ -1051,7 +1051,7 @@ int gbaudio_tplg_parse_data(struct gbaudio_codec_info *gbcodec,
"%d: Error in parsing widgets data\n", ret); "%d: Error in parsing widgets data\n", ret);
return ret; return ret;
} }
dev_err(gbcodec->dev, "Widget parsing finished\n"); dev_dbg(gbcodec->dev, "Widget parsing finished\n");
/* process route */ /* process route */
routes = (struct gb_audio_route *)gbcodec->route_offset; routes = (struct gb_audio_route *)gbcodec->route_offset;
...@@ -1061,7 +1061,7 @@ int gbaudio_tplg_parse_data(struct gbaudio_codec_info *gbcodec, ...@@ -1061,7 +1061,7 @@ int gbaudio_tplg_parse_data(struct gbaudio_codec_info *gbcodec,
"%d: Error in parsing routes data\n", ret); "%d: Error in parsing routes data\n", ret);
return ret; return ret;
} }
dev_err(gbcodec->dev, "Route parsing finished\n"); dev_dbg(gbcodec->dev, "Route parsing finished\n");
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment