ALSA: ca0106 - clean up playback pointer callback
authorTakashi Iwai <tiwai@suse.de>
Thu, 16 Jul 2009 16:19:12 +0000 (18:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 Sep 2010 09:54:16 +0000 (11:54 +0200)
commitadd7c0a6a4b8669ebd726f9c08ba6002900ca671
tree81c28ffce3985feafc2a6d07f33a7052c763c425
parent9fe856e47e1751204faf3d604c6d20ab24bd3b93
ALSA: ca0106 - clean up playback pointer callback

Clean up the playback pointer callback function a bit, and make the
pointer check more strictly to avoid bogus pointers.

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