[alsa-devel] [PATCH 03/14] ALSA: Add a helper to initialize device
Lars-Peter Clausen
lars at metafoo.de
Mon Feb 2 14:43:02 CET 2015
On 02/02/2015 02:40 PM, Takashi Iwai wrote:
[...]
>> And on the long run things
>> should probably be re-factored to do all memory freeing in a subdevice
>> specific release function.
>
> This patchset is one step toward the simplification, indeed.
>
> But, what do you have in mind when you write "a subsystem specific
> release function"?
"subdev specific". What you already do for e.g. hwdep and MIDI, but for all
of the subdevice types, so the empty default function is no longer needed.
The kfree(container_of(...)) stuff.
- Lars
More information about the Alsa-devel
mailing list