diff options
Diffstat (limited to 'sound/pci/rme9652/hdsp.c')
-rw-r--r-- | sound/pci/rme9652/hdsp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c index 2411f0b396b4..ff26a3672d40 100644 --- a/sound/pci/rme9652/hdsp.c +++ b/sound/pci/rme9652/hdsp.c | |||
@@ -3059,6 +3059,9 @@ static int hdsp_dds_offset(struct hdsp *hdsp) | |||
3059 | unsigned int dds_value = hdsp->dds_value; | 3059 | unsigned int dds_value = hdsp->dds_value; |
3060 | int system_sample_rate = hdsp->system_sample_rate; | 3060 | int system_sample_rate = hdsp->system_sample_rate; |
3061 | 3061 | ||
3062 | if (!dds_value) | ||
3063 | return 0; | ||
3064 | |||
3062 | n = DDS_NUMERATOR; | 3065 | n = DDS_NUMERATOR; |
3063 | /* | 3066 | /* |
3064 | * dds_value = n / rate | 3067 | * dds_value = n / rate |