greybus: audio: cleanup unnecessary dev_err messages
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>
Wed, 13 Jan 2016 21:07:54 +0000 (14:07 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 14 Jan 2016 00:48:49 +0000 (16:48 -0800)
Replace unnecessary dev_err msg with dev_dbg.
Same were added during development to trace topology
parser progress.

Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org>
Signed-off-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/audio_topology.c

index 8840a9c330ded2dc528ad4c18e80dfa5e4aa512d..b18574e91b5f8ae6cae1fd82398fb6116d680650 100644 (file)
@@ -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;
 }