diff options
| author | Johan Hovold <[email protected]> | 2021-04-07 12:39:16 +0200 |
|---|---|---|
| committer | Johan Hovold <[email protected]> | 2021-04-08 09:45:59 +0200 |
| commit | 3d732690d2267f4d0e19077b178dffbedafdf0c9 (patch) | |
| tree | 3c7550b512b63fff75e7bef2ebdbd14bffbf93cd /tools/perf/scripts/python/flamegraph.py | |
| parent | d370c90dcd64e427a79a093a070117a1571d4cd8 (diff) | |
USB: serial: usb_wwan: fix TIOCSSERIAL jiffies conversions
The port close_delay and closing_wait parameters set by TIOCSSERIAL are
specified in jiffies and not milliseconds.
Add the missing conversions so that the TIOCSSERIAL works as expected
also when HZ is not 1000.
Fixes: 02303f73373a ("usb-wwan: implement TIOCGSERIAL and TIOCSSERIAL to avoid blocking close(2)")
Cc: [email protected] # 2.6.38
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions