/openbmc/linux/sound/core/ |
H A D | sound_oss.c | diff a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85 Tue Oct 16 06:05:59 CDT 2012 Takashi Iwai <tiwai@suse.de> ALSA: Add a reference counter to card instance
For more strict protection for wild disconnections, a refcount is introduced to the card instance, and let it up/down when an object is referred via snd_lookup_*() in the open ops.
The free-after-last-close check is also changed to check this refcount instead of the empty list, too.
Reported-by: Matthieu CASTET <matthieu.castet@parrot.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
H A D | compress_offload.c | diff 749d32237bf39e6576dd95bfdf24e4378e51716c Wed Mar 19 07:59:39 CDT 2014 Charles Keepax <ckeepax@opensource.wolfsonmicro.com> ALSA: compress: Pass through return value of open ops callback
The snd_compr_open function would always return 0 even if the compressed ops open function failed, obviously this is incorrect. Looks like this was introduced by a small typo in:
commit a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85 ALSA: Add a reference counter to card instance
This patch returns the value from the compressed op as it should.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Acked-by: Vinod Koul <vinod.koul@intel.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> diff a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85 Tue Oct 16 06:05:59 CDT 2012 Takashi Iwai <tiwai@suse.de> ALSA: Add a reference counter to card instance
For more strict protection for wild disconnections, a refcount is introduced to the card instance, and let it up/down when an object is referred via snd_lookup_*() in the open ops.
The free-after-last-close check is also changed to check this refcount instead of the empty list, too.
Reported-by: Matthieu CASTET <matthieu.castet@parrot.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
H A D | hwdep.c | diff a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85 Tue Oct 16 06:05:59 CDT 2012 Takashi Iwai <tiwai@suse.de> ALSA: Add a reference counter to card instance
For more strict protection for wild disconnections, a refcount is introduced to the card instance, and let it up/down when an object is referred via snd_lookup_*() in the open ops.
The free-after-last-close check is also changed to check this refcount instead of the empty list, too.
Reported-by: Matthieu CASTET <matthieu.castet@parrot.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
H A D | sound.c | diff a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85 Tue Oct 16 06:05:59 CDT 2012 Takashi Iwai <tiwai@suse.de> ALSA: Add a reference counter to card instance
For more strict protection for wild disconnections, a refcount is introduced to the card instance, and let it up/down when an object is referred via snd_lookup_*() in the open ops.
The free-after-last-close check is also changed to check this refcount instead of the empty list, too.
Reported-by: Matthieu CASTET <matthieu.castet@parrot.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
H A D | init.c | diff a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85 Tue Oct 16 06:05:59 CDT 2012 Takashi Iwai <tiwai@suse.de> ALSA: Add a reference counter to card instance
For more strict protection for wild disconnections, a refcount is introduced to the card instance, and let it up/down when an object is referred via snd_lookup_*() in the open ops.
The free-after-last-close check is also changed to check this refcount instead of the empty list, too.
Reported-by: Matthieu CASTET <matthieu.castet@parrot.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
H A D | rawmidi.c | diff a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85 Tue Oct 16 06:05:59 CDT 2012 Takashi Iwai <tiwai@suse.de> ALSA: Add a reference counter to card instance
For more strict protection for wild disconnections, a refcount is introduced to the card instance, and let it up/down when an object is referred via snd_lookup_*() in the open ops.
The free-after-last-close check is also changed to check this refcount instead of the empty list, too.
Reported-by: Matthieu CASTET <matthieu.castet@parrot.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
H A D | control.c | diff a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85 Tue Oct 16 06:05:59 CDT 2012 Takashi Iwai <tiwai@suse.de> ALSA: Add a reference counter to card instance
For more strict protection for wild disconnections, a refcount is introduced to the card instance, and let it up/down when an object is referred via snd_lookup_*() in the open ops.
The free-after-last-close check is also changed to check this refcount instead of the empty list, too.
Reported-by: Matthieu CASTET <matthieu.castet@parrot.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
H A D | pcm_native.c | diff a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85 Tue Oct 16 06:05:59 CDT 2012 Takashi Iwai <tiwai@suse.de> ALSA: Add a reference counter to card instance
For more strict protection for wild disconnections, a refcount is introduced to the card instance, and let it up/down when an object is referred via snd_lookup_*() in the open ops.
The free-after-last-close check is also changed to check this refcount instead of the empty list, too.
Reported-by: Matthieu CASTET <matthieu.castet@parrot.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
/openbmc/linux/sound/core/oss/ |
H A D | mixer_oss.c | diff a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85 Tue Oct 16 06:05:59 CDT 2012 Takashi Iwai <tiwai@suse.de> ALSA: Add a reference counter to card instance
For more strict protection for wild disconnections, a refcount is introduced to the card instance, and let it up/down when an object is referred via snd_lookup_*() in the open ops.
The free-after-last-close check is also changed to check this refcount instead of the empty list, too.
Reported-by: Matthieu CASTET <matthieu.castet@parrot.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
H A D | pcm_oss.c | diff a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85 Tue Oct 16 06:05:59 CDT 2012 Takashi Iwai <tiwai@suse.de> ALSA: Add a reference counter to card instance
For more strict protection for wild disconnections, a refcount is introduced to the card instance, and let it up/down when an object is referred via snd_lookup_*() in the open ops.
The free-after-last-close check is also changed to check this refcount instead of the empty list, too.
Reported-by: Matthieu CASTET <matthieu.castet@parrot.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
/openbmc/linux/include/sound/ |
H A D | core.h | diff a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85 Tue Oct 16 06:05:59 CDT 2012 Takashi Iwai <tiwai@suse.de> ALSA: Add a reference counter to card instance
For more strict protection for wild disconnections, a refcount is introduced to the card instance, and let it up/down when an object is referred via snd_lookup_*() in the open ops.
The free-after-last-close check is also changed to check this refcount instead of the empty list, too.
Reported-by: Matthieu CASTET <matthieu.castet@parrot.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|