dev->oss.afmt        = AFMT_U8; dev->oss.channels    = 1; dev->oss.read_count  = 0; dev->oss.read_offset = 0; 
dev->dmasound.afmt        = AFMT_U8; dev->dmasound.channels    = 1; dev->dmasound.read_count  = 0; dev->dmasound.read_offset = 0; 
static int dsp_open(struct inode *inode, struct file *file){	int minor = iminor(inode);	struct saa7134_dev *h,*dev = NULL;	struct list_head *list;	int err;	list_for_each(list,&saa7134_devlist) {		h = list_entry(list, struct saa7134_dev, devlist);		if (h->oss.minor_dsp == minor)			dev = h;	}	if (NULL == dev)		return -ENODEV;	down(&dev->oss.lock);	err = -EBUSY;	if (dev->oss.users_dsp)		goto fail1;	dev->oss.users_dsp++;	file->private_data = dev;	dev->oss.afmt        = AFMT_U8;	dev->oss.channels    = 1;	dev->oss.read_count  = 0;	dev->oss.read_offset = 0;	dsp_buffer_conf(dev,PAGE_SIZE,64);	err = dsp_buffer_init(dev);	if (0 != err)		goto fail2;	up(&dev->oss.lock);	return 0; fail2:	dev->oss.users_dsp--; fail1:	up(&dev->oss.lock);	return err;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b54134be53be720da423692665ec215eb14a678b/saa7134-oss.c/buggy/drivers/media/video/saa7134/saa7134-oss.c