dma->suspended = cmd == SNDRV_PCM_TRIGGER_SUSPEND; 
static int snd_atiixp_pcm_trigger(snd_pcm_substream_t *substream, int cmd){	atiixp_t *chip = snd_pcm_substream_chip(substream);	atiixp_dma_t *dma = (atiixp_dma_t *)substream->runtime->private_data;	int err = 0;	snd_assert(dma->ops->enable_transfer && dma->ops->flush_dma, return -EINVAL);	spin_lock(&chip->reg_lock);	switch (cmd) {	case SNDRV_PCM_TRIGGER_START:		dma->ops->enable_transfer(chip, 1);		dma->running = 1;		break;	case SNDRV_PCM_TRIGGER_STOP:		dma->ops->enable_transfer(chip, 0);		dma->running = 0;		break;	default:		err = -EINVAL;		break;	}	if (! err) {		snd_atiixp_check_bus_busy(chip);		if (cmd == SNDRV_PCM_TRIGGER_STOP) {			dma->ops->flush_dma(chip);			snd_atiixp_check_bus_busy(chip);		}	}	spin_unlock(&chip->reg_lock);	return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/41e4845c426024ec41724326397a36b3aa2cb6a3/atiixp.c/buggy/sound/pci/atiixp.c