diff options
author | Heiner Kallweit <[email protected]> | 2023-05-24 21:48:36 +0200 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2023-06-23 15:37:35 +0200 |
commit | 87a2cbf02d7701255f9fcca7e5bd864a7bb397cf (patch) | |
tree | ef180ffd2833294294ea43a3521de95141f29149 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 6b9352f3f8a1a35faf0efc1ad1807ee303467796 (diff) |
pwm: meson: fix handling of period/duty if greater than UINT_MAX
state->period/duty are of type u64, and if their value is greater than
UINT_MAX, then the cast to uint will cause problems. Fix this by
changing the type of the respective local variables to u64.
Fixes: b79c3670e120 ("pwm: meson: Don't duplicate the polarity internally")
Cc: [email protected]
Suggested-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Martin Blumenstingl <[email protected]>
Signed-off-by: Heiner Kallweit <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions