snd_printk("snd_pcm_lib_malloc_pages(%p, %i) returned %i\n", substream, params_buffer_bytes(hw_params), err); 
snd_printk(KERN_ERR "snd_pcm_lib_malloc_pages(%p, %i) returned %i\n", substream, params_buffer_bytes(hw_params), err); 
static int snd_usX2Y_pcm_hw_params(snd_pcm_substream_t *substream,				   snd_pcm_hw_params_t *hw_params){	int			err = 0;	unsigned int		rate = params_rate(hw_params);	snd_pcm_format_t	format = params_format(hw_params);	snd_printdd("snd_usX2Y_hw_params(%p, %p)\n", substream, hw_params);	{	// all pcm substreams off one usX2Y have to operate at the same rate & format		snd_card_t *card = substream->pstr->pcm->card;		struct list_head *list;		list_for_each(list, &card->devices) {			snd_device_t *dev;			snd_pcm_t *pcm;			int s;			dev = snd_device(list);			if (dev->type != SNDRV_DEV_PCM)				continue;			pcm = dev->device_data;			for (s = 0; s < 2; ++s) {				snd_pcm_substream_t *test_substream;				test_substream = pcm->streams[s].substream;				if (test_substream && test_substream != substream  &&				    test_substream->runtime &&				    ((test_substream->runtime->format &&				      test_substream->runtime->format != format) ||				     (test_substream->runtime->rate &&				      test_substream->runtime->rate != rate)))					return -EINVAL;			}		}	}	if (0 > (err = snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hw_params)))) {		snd_printk("snd_pcm_lib_malloc_pages(%p, %i) returned %i\n", substream, params_buffer_bytes(hw_params), err);		return err;	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/d3d579f84ebf701dedd22ba696d1738ed6759ef7/usbusx2yaudio.c/buggy/sound/usb/usx2y/usbusx2yaudio.c