10 Nov
2015
10 Nov
'15
11:37 a.m.
On Mon, Nov 09, 2015 at 03:30:26PM +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.
Signed-off-by: Jyri Sarha jsarha@ti.com Reported-by: Felipe Balbi balbi@ti.com
Acked-by: Charles Keepax ckeepax@opensource.wolfsonmicro.com
Thanks, Charles