Home
last modified time | relevance | path

Searched hist:a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85 (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/sound/core/
H A Dsound_oss.cdiff 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 Dcompress_offload.cdiff 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 Dhwdep.cdiff 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 Dsound.cdiff 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 Dinit.cdiff 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 Drawmidi.cdiff 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 Dcontrol.cdiff 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 Dpcm_native.cdiff 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 Dmixer_oss.cdiff 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 Dpcm_oss.cdiff 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 Dcore.hdiff 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>