Prev: [PATCH 1/2] drivers/net/au1000_eth.c: Remove misuse of DECLARE_MAC_BUF
Next: [04/20] [SCSI] gdth: Prevent negative offsets in ioctl CVE-2009-3080
From: Greg KH on 6 Dec 2009 18:40 2.6.27-stable review patch. If anyone has any objections, please let us know. ------------------ From: Russell King <rmk+kernel(a)arm.linux.org.uk> commit 4acd57c3de62374fe5bb52e5cd24538190f4eab2 upstream. Signed-off-by: Russell King <rmk+kernel(a)arm.linux.org.uk> Signed-off-by: Takashi Iwai <tiwai(a)suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh(a)suse.de> --- sound/arm/aaci.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/sound/arm/aaci.c +++ b/sound/arm/aaci.c @@ -504,6 +504,10 @@ static int aaci_pcm_hw_params(struct snd int err; aaci_pcm_hw_free(substream); + if (aacirun->pcm_open) { + snd_ac97_pcm_close(aacirun->pcm); + aacirun->pcm_open = 0; + } err = devdma_hw_alloc(NULL, substream, params_buffer_bytes(params)); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |