From: Vaibhav Agarwal Date: Wed, 13 Jan 2016 21:07:54 +0000 (-0700) Subject: greybus: audio: cleanup unnecessary dev_err messages X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=538ecb5a05049fcd23043ed5c97e42c379e5ccb0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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; }