aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorLino Sanfilippo <[email protected]>2024-02-16 22:47:07 +0000
committerGreg Kroah-Hartman <[email protected]>2024-02-19 08:43:37 +0000
commitf418ae73311deb901c0110b08d1bbafc20c1820e (patch)
tree1084caca234df7d2225f2a0c102fad889616a8a4 /drivers/fpga/tests/fpga-mgr-test.c
parenttty: hvc: Don't enable the RISC-V SBI console by default (diff)
downloadkernel-f418ae73311deb901c0110b08d1bbafc20c1820e.tar.gz
kernel-f418ae73311deb901c0110b08d1bbafc20c1820e.zip
serial: stm32: do not always set SER_RS485_RX_DURING_TX if RS485 is enabled
Before commit 07c30ea5861f ("serial: Do not hold the port lock when setting rx-during-tx GPIO") the SER_RS485_RX_DURING_TX flag was only set if the rx-during-tx mode was not controlled by a GPIO. Now the flag is set unconditionally when RS485 is enabled. This results in an incorrect setting if the rx-during-tx GPIO is not asserted. Fix this by setting the flag only if the rx-during-tx mode is not controlled by a GPIO and thus restore the correct behaviour. Cc: [email protected] # 6.6+ Fixes: 07c30ea5861f ("serial: Do not hold the port lock when setting rx-during-tx GPIO") Signed-off-by: Lino Sanfilippo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions