projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
video: rockchip: vpu: add rk3368 support
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
pwm
/
pwm-clps711x.c
diff --git
a/drivers/pwm/pwm-clps711x.c
b/drivers/pwm/pwm-clps711x.c
index a80c10803636adbd24d79865ee2a1207df90cd5a..7d335422cfdac674dcefe3638c8fe82ac18631ec 100644
(file)
--- a/
drivers/pwm/pwm-clps711x.c
+++ b/
drivers/pwm/pwm-clps711x.c
@@
-60,7
+60,7
@@
static int clps711x_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
return -EINVAL;
/* Store constant period value */
- pwm
_set_period(pwm, DIV_ROUND_CLOSEST(NSEC_PER_SEC, freq)
);
+ pwm
->args.period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, freq
);
return 0;
}