saapcm = kcalloc(1, sizeof(*saapcm), GFP_KERNEL); 
saapcm = kzalloc(sizeof(*saapcm), GFP_KERNEL); 
static int snd_card_saa7134_capture_open(snd_pcm_substream_t * substream){	snd_pcm_runtime_t *runtime = substream->runtime;	snd_card_saa7134_pcm_t *saapcm;	snd_card_saa7134_t *saa7134 = snd_pcm_substream_chip(substream);	struct saa7134_dev *dev = saa7134->saadev;	int err;	down(&dev->oss.lock);	dev->oss.afmt        = SNDRV_PCM_FORMAT_U8;	dev->oss.channels    = 2;	dev->oss.read_count  = 0;	dev->oss.read_offset = 0;	up(&dev->oss.lock);	saapcm = kcalloc(1, sizeof(*saapcm), GFP_KERNEL);	if (saapcm == NULL)		return -ENOMEM;	saapcm->saadev=saa7134->saadev;	spin_lock_init(&saapcm->lock);	saapcm->substream = substream;	runtime->private_data = saapcm;	runtime->private_free = snd_card_saa7134_runtime_free;	runtime->hw = snd_card_saa7134_capture;	if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0)		return err;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b54134be53be720da423692665ec215eb14a678b/saa7134-alsa.c/clean/drivers/media/video/saa7134/saa7134-alsa.c