diff options
| author | Johan Hovold <johan@kernel.org> | 2021-04-07 12:39:16 +0200 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2021-04-08 09:45:59 +0200 |
| commit | 3d732690d2267f4d0e19077b178dffbedafdf0c9 (patch) | |
| tree | 3c7550b512b63fff75e7bef2ebdbd14bffbf93cd /tools/perf/scripts/python | |
| parent | USB: serial: ti_usb_3410_5052: fix TIOCSSERIAL permission check (diff) | |
| download | linux-3d732690d2267f4d0e19077b178dffbedafdf0c9.tar.gz linux-3d732690d2267f4d0e19077b178dffbedafdf0c9.zip | |
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: stable@vger.kernel.org # 2.6.38
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
