[PATCH 4/7] ASoC: Intel: Skylake: Shield against no-NHLT configurations
    Pierre-Louis Bossart 
    pierre-louis.bossart at linux.intel.com
       
    Fri Mar  6 22:03:24 CET 2020
    
    
  
> -	intel_nhlt_free(skl->nhlt);
> +	if (skl->nhlt)
> +		intel_nhlt_free(skl->nhlt);
we could alternatively move the test in intel_nhlt_free, which seems 
like a more robust thing to do?
    
    
More information about the Alsa-devel
mailing list