summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2022-06-27 18:07:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-30 18:15:31 +0300
commit5c5f44e36217de5ead789ff25da71c31c2331c96 (patch)
treed630a2a016f318cdf7ce1147b85d0308e816ac15 /scripts
parentec5ad331680c96ef3dd30dc297b206988023b9e1 (diff)
downloadlinux-5c5f44e36217de5ead789ff25da71c31c2331c96.tar.xz
serial: stm32: Clear prev values before setting RTS delays
The code lacks clearing of previous DEAT/DEDT values. Thus, changing values on the fly results in garbage delays tending towards the maximum value as more and more bits are ORed together. (Leaving RS485 mode would have cleared the old values though). Fixes: 1bcda09d2910 ("serial: stm32: add support for RS485 hardware control mode") Cc: stable <stable@kernel.org> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20220627150753.34510-1-ilpo.jarvinen@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions