summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/pwm
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2020-08-24 17:55:39 +0300
committerThierry Reding <thierry.reding@gmail.com>2020-09-24 09:18:14 +0200
commit1f2bd2271a105767046e02ecabd39a608270a4c6 (patch)
tree0f75b0917d7ff30df9f650d69547bc41fdea4c31 /Documentation/devicetree/bindings/pwm
parentb39c0615d0667b3a6f2f5c4bf99ffadf3b518bb1 (diff)
pwm: Allow store 64-bit duty cycle from sysfs interface
PWM core was converted to u64 by the commit a9d887dc1c60 ("pwm: Convert period and duty cycle to u64") but did not change the duty_cycle_store() so it will error out if trying to pass a numeric string bigger than 2^32-1. Fix this by using u64 and kstrtou64() in duty_cycle_store(). Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Acked-by: Guru Das Srinagesh <gurus@codeaurora.org> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/pwm')
0 files changed, 0 insertions, 0 deletions