]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita96af79e2c568b55a7f04b947a4d25fe6416c106
tree0c975dcebc34cadc2a15fe77abbeacb83f67a5c7
parente5a80de70caf947013ed61835b38dcbee6d62f51
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