]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda: reduce verbosity of boot error logs
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 17 Sep 2020 10:56:33 +0000 (13:56 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 17 Sep 2020 14:53:21 +0000 (15:53 +0100)
commitc8c21db3cf8c4a525acd706a8746ecf65760781e
tree2c62365dda325dc7f5589becf0fd4d919f3458fc
parent1bdb7abe86e3af2e68972add085f3e027c7c9b8d
ASoC: SOF: Intel: hda: reduce verbosity of boot error logs

Previous commits reduced the verbosity of errors during boot
iterations, but there are still a couple remaining which generate
false positives. Errors should only be logged when after last attempt
to download firmware failed.

Duplicating logs and assigning them different levels based on the
iteration number isn't really elegant, use macro as suggested by
Guennadi.

Suggested-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200917105633.2579047-9-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-loader.c
sound/soc/sof/intel/hda.c
sound/soc/sof/intel/hda.h
sound/soc/sof/sof-priv.h