Re: snd-hdsp in 2.6.22 crashes badly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 15, 2007 at 01:33:33PM +0200, Takashi Iwai wrote:
> Does the patch below fix the problem?
> 
yes it fixes it.
all fine. thanx a lot.

-- 
cheers,
ilya .d

> 
> Thanks,
> 
> Takashi
> 
> diff -r 29661bff769f pci/rme9652/hdsp.c
> --- a/pci/rme9652/hdsp.c	Mon Oct 15 10:36:45 2007 +0200
> +++ b/pci/rme9652/hdsp.c	Mon Oct 15 13:59:20 2007 +0200
> @@ -3058,6 +3058,9 @@ static int hdsp_dds_offset(struct hdsp *
>  	u32 r;
>  	unsigned int dds_value = hdsp->dds_value;
>  	int system_sample_rate = hdsp->system_sample_rate;
> +
> +	if (!dds_value)
> +		return 0;
>  
>  	n = DDS_NUMERATOR;
>  	/*
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux