]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: add private_data to struct snd_jack
authorTakashi Iwai <tiwai@suse.de>
Tue, 14 Apr 2009 14:13:58 +0000 (16:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 14 Apr 2009 14:15:09 +0000 (16:15 +0200)
commitaa21e1a61345b35748433843872f56ccb0d1bf1e
treeab9ab1d52db96d7ba7a5235ea0073a34b722a1e0
parentda6eabd5c43407700224dcb2b2ff82337615a1f8
ALSA: add private_data to struct snd_jack

Added private_data and private_free fields to struct snd_jack so that
the caller can assign the data.  It'll be helpful for avoiding the
double-free of the jack instance.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/jack.h
sound/core/jack.c