[ALSA] ASoC at91 - Fix NULL pointer dereference in at91_i2s_shutdown
authorFrank Mandarino <fmandarino@endrelia.com>
Mon, 8 Jan 2007 09:58:47 +0000 (10:58 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 9 Feb 2007 08:02:54 +0000 (09:02 +0100)
commitffc26918ab5674b286a4bc07dac7e011cea83e97
tree86fb6769a475d14498c694653b7b86e90b0d951c
parentad5e773750aeae3ad980f94b9f3cecad5af7c53d
[ALSA] ASoC at91 - Fix NULL pointer dereference in at91_i2s_shutdown

This patch fixes a NULL pointer exception which occurs when a
substream is opened and immediately closed.

Signed-off-by: Frank Mandarino <fmandarino@endrelia.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/soc/at91/at91-i2s.c