diff options
author | Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> | 2023-05-19 21:56:11 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-22 11:18:47 +0100 |
commit | f9d1fe7e81b87378e7bb4a0be9c6fb29bbaa73c0 (patch) | |
tree | a42f58a3975d0a032d25c953156957cc966b6d1d /sound/soc/soc-topology.c | |
parent | db756c5c35dfcf820c2b0d7eec526e8dfe79a96d (diff) | |
download | lwn-f9d1fe7e81b87378e7bb4a0be9c6fb29bbaa73c0.tar.gz lwn-f9d1fe7e81b87378e7bb4a0be9c6fb29bbaa73c0.zip |
ASoC: topology: Remove redundant log
soc_tplg_valid_header() logs all the failures in detail already.
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230519195611.4068853-6-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-topology.c')
-rw-r--r-- | sound/soc/soc-topology.c | 5 |
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); |