[alsa-devel] snd-hdsp in 2.6.22 crashes badly

ilya .d errordeveloper at gmail.com
Mon Oct 29 03:25:02 CET 2007


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;
>  	/*


More information about the Alsa-devel mailing list