2 Feb
2011
2 Feb
'11
11:02 a.m.
Dnia wtorek 01 luty 2011 o 22:33:01 Mark Brown napisaĆ(a):
On Tue, Feb 01, 2011 at 06:40:55PM +0100, Janusz Krzysztofik wrote:
It looks like the .card member of the snd_soc_pcm_runtime structure pointed to by the snd_soc_dai_link.init() argument is no longer initialized before the function being called. As the Amstrad Delta sound card driver was making use of it for locating its snd_soc_card structure, this resulted in actual or potential NULL pointer dereferences.
Seems like it'd be better to fix this in the core - this is a reasonable thing to want to have set up and the use ams-delta makes of it seems perfectly sensible. Care to do a patch?
Sure.