diff options
| author | Anthony Mallet <anthony.mallet@laas.fr> | 2020-03-12 14:31:00 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-02 19:02:31 +0200 |
| commit | 873c82d31c9b65ccec51e71af0ad3322affe42cb (patch) | |
| tree | fc663a5ea04e2dfcc84d8fe484834046ac867b07 /include/linux | |
| parent | b416d439eca0cf42482816cdc4ef6a8ab5a5ac2e (diff) | |
USB: cdc-acm: fix close_delay and closing_wait units in TIOCSSERIAL
[ Upstream commit 633e2b2ded739a34bd0fb1d8b5b871f7e489ea29 ]
close_delay and closing_wait are specified in hundredth of a second but stored
internally in jiffies. Use the jiffies_to_msecs() and msecs_to_jiffies()
functions to convert from each other.
Signed-off-by: Anthony Mallet <anthony.mallet@laas.fr>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200312133101.7096-1-anthony.mallet@laas.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
