ALSA: ctxfi - Check the presence of SRC instance in PCM pointer callbacks
authorTakashi Iwai <tiwai@suse.de>
Tue, 9 Jun 2009 06:17:14 +0000 (08:17 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 9 Jun 2009 06:17:14 +0000 (08:17 +0200)
commit5242bc7613311aa1a3d5ed41e9cf81015b65563f
tree0c975dcebc34cadc2a15fe77abbeacb83f67a5c7
parentc399f3be82e1249221a7f410855ab1aa747fa82b
ALSA: ctxfi - Check the presence of SRC instance in PCM pointer callbacks

The SRC instances may not exist when PCM pointer callback is called at
the state before initialization is finished.  Add the NULL check just
to be sure.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ctxfi/ctatc.c