aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Sławiński <[email protected]>2023-05-19 21:56:11 +0200
committerMark Brown <[email protected]>2023-05-22 11:18:47 +0100
commitf9d1fe7e81b87378e7bb4a0be9c6fb29bbaa73c0 (patch)
treea42f58a3975d0a032d25c953156957cc966b6d1d
parentdb756c5c35dfcf820c2b0d7eec526e8dfe79a96d (diff)
ASoC: topology: Remove redundant log
soc_tplg_valid_header() logs all the failures in detail already. Signed-off-by: Amadeusz Sławiński <[email protected]> Reviewed-by: Cezary Rojewski <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/soc-topology.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c
index 9bb4c6d2a2c9..20fd46a41cbb 100644
--- a/sound/soc/soc-topology.c
+++ b/sound/soc/soc-topology.c
@@ -2486,11 +2486,8 @@ static int soc_tplg_process_headers(struct soc_tplg *tplg)
/* make sure header is valid before loading */
ret = soc_tplg_valid_header(tplg, hdr);
- if (ret < 0) {
- dev_err(tplg->dev,
- "ASoC: topology: invalid header: %d\n", ret);
+ if (ret < 0)
return ret;
- }
/* load the header object */
ret = soc_tplg_load_header(tplg, hdr);