• Mark Brown's avatar
    Merge series "ASoC: topology: fix error handling flow" from Pierre-Louis... · 76c49909
    Mark Brown authored
    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: a5911ac5
    --
    2.25.1
    76c49909
soc.h 48.1 KB