29 Oct
2007
29 Oct
'07
3:25 a.m.
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;
> /*