diff options
Diffstat (limited to 'drivers/pwm/pwm-samsung.c')
-rw-r--r-- | drivers/pwm/pwm-samsung.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/pwm/pwm-samsung.c b/drivers/pwm/pwm-samsung.c index e5187c0ade9f..023a3bee76e7 100644 --- a/drivers/pwm/pwm-samsung.c +++ b/drivers/pwm/pwm-samsung.c | |||
@@ -126,9 +126,6 @@ static int s3c_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, | |||
126 | if (period_ns > NS_IN_HZ || duty_ns > NS_IN_HZ) | 126 | if (period_ns > NS_IN_HZ || duty_ns > NS_IN_HZ) |
127 | return -ERANGE; | 127 | return -ERANGE; |
128 | 128 | ||
129 | if (duty_ns > period_ns) | ||
130 | return -EINVAL; | ||
131 | |||
132 | if (period_ns == s3c->period_ns && | 129 | if (period_ns == s3c->period_ns && |
133 | duty_ns == s3c->duty_ns) | 130 | duty_ns == s3c->duty_ns) |
134 | return 0; | 131 | return 0; |