]> git.baikalelectronics.ru Git - kernel.git/commit
Merge series "ASoC: topology: fix error handling flow" from Pierre-Louis Bossart...
authorMark Brown <broonie@kernel.org>
Wed, 8 Jul 2020 14:02:04 +0000 (15:02 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 8 Jul 2020 14:02:04 +0000 (15:02 +0100)
commit5f7a1fec275f3768b0cd46504464280a1434bde0
treeaf479536bfbc3fa8fec2da1d333e2fc8599c7cbe
parent80cea84812241e538a759a04282923477f72a14e
parent49c056b1049af04083f069d3d19f5a01f736eb11
Merge series "ASoC: topology: fix error handling flow" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:

While experimenting and introducing errors in Baytrail topology files
until I got them right, I encountered multiple kernel oopses and
memory leaks. This is a first batch to harden the code, but we should
probably think of a tool to fuzz the topology...

Pierre-Louis Bossart (5):
  ASoC: topology: fix kernel oops on route addition error
  ASoC: topology: fix tlvs in error handling for widget_dmixer
  ASoC: topology: use break on errors, not continue
  ASoC: topology: factor kfree(se) in error handling
  ASoC: topology: add more logs when topology load fails.

 sound/soc/soc-topology.c | 97 ++++++++++++++++++++++++----------------
 1 file changed, 58 insertions(+), 39 deletions(-)

base-commit: a5911ac5790acaf98c929b826b3f7b4a438f9759
--
2.25.1