summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorGuru Das Srinagesh <gurus@codeaurora.org>2020-06-03 01:31:16 +0300
committerThierry Reding <thierry.reding@gmail.com>2020-06-17 21:42:11 +0300
commita9d887dc1c60ed67f2271d66560cdcf864c4a578 (patch)
treee82d315a396940caf32c373b260ed6c9e955ac6b /ipc
parenta6733474ba4bf3150120bacc1d2db446d89d3dbe (diff)
downloadlinux-a9d887dc1c60ed67f2271d66560cdcf864c4a578.tar.xz
pwm: Convert period and duty cycle to u64
Because period and duty cycle are defined as ints with units of nanoseconds, the maximum time duration that can be set is limited to ~2.147 seconds. Change their definitions to u64 in the structs of the PWM framework so that higher durations may be set. Also use the right format specifiers in debug prints in both core.c, pwm-stm32-lp.c as well as video/fbdev/ssd1307fb.c. Reported-by: kbuild test robot <lkp@intel.com> Signed-off-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 'ipc')
0 files changed, 0 insertions, 0 deletions