diff options
-rw-r--r-- | drivers/staging/comedi/drivers/s526.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/s526.c b/drivers/staging/comedi/drivers/s526.c index 4ad6adfcbb9c..a1e256293bd6 100644 --- a/drivers/staging/comedi/drivers/s526.c +++ b/drivers/staging/comedi/drivers/s526.c | |||
@@ -376,7 +376,7 @@ static int s526_gpct_winsn(struct comedi_device *dev, | |||
376 | The above periods must be expressed as a multiple of the | 376 | The above periods must be expressed as a multiple of the |
377 | pulse frequency on the selected source | 377 | pulse frequency on the selected source |
378 | */ | 378 | */ |
379 | if ((data[1] < data[0]) || !data[0]) | 379 | if ((data[1] <= data[0]) || !data[0]) |
380 | return -EINVAL; | 380 | return -EINVAL; |
381 | 381 | ||
382 | /* Fall thru to write the PULSE_WIDTH */ | 382 | /* Fall thru to write the PULSE_WIDTH */ |