[alsa-devel] [PATCH v2] ASoC: damp: Reset dapm wcache after freeing damp widgets

Jyri Sarha jsarha at ti.com
Wed Nov 11 14:00:31 CET 2015


On 11/10/15 20:53, Mark Brown wrote:
> On Tue, Nov 10, 2015 at 06:12:42PM +0200, Jyri Sarha wrote:
>> If there is anything in damp->path_source_cache or
>> damp->path_sink_cache, it can not be valid after the widgets have been
>> freed. Without this patch a repeated remove and load of a machine
>> driver may cause NULL pointer reference in dapm_wcache_lookup() when a
>> freed widget, not belonging to any list, is haunting in the wcache.
>
> Please try to check the spelling in your subject lines!
>


Argh, these acronyms wont get corrected by blind spell checker run. I 
need to be more careful in the future, at least for the subject.

Sorry,
Jyri


More information about the Alsa-devel mailing list