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>
This commit is contained in:
Amadeusz Sławiński 2023-05-19 21:56:11 +02:00 committed by Mark Brown
parent db756c5c35
commit f9d1fe7e81
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0

View file

@ -2486,11 +2486,8 @@ static int soc_tplg_process_headers(struct soc_tplg *tplg)
/* make sure header is valid before loading */ /* make sure header is valid before loading */
ret = soc_tplg_valid_header(tplg, hdr); ret = soc_tplg_valid_header(tplg, hdr);
if (ret < 0) { if (ret < 0)
dev_err(tplg->dev,
"ASoC: topology: invalid header: %d\n", ret);
return ret; return ret;
}
/* load the header object */ /* load the header object */
ret = soc_tplg_load_header(tplg, hdr); ret = soc_tplg_load_header(tplg, hdr);