diff options
| author | Johan Hovold <[email protected]> | 2024-10-09 14:51:04 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-10-11 06:39:23 +0000 |
| commit | 23f5f5debcaac1399cfeacec215278bf6dbc1d11 (patch) | |
| tree | bff11cdf2b7bedf45b62029a8417ffb1a85a90a7 /rust/helpers/mutex.c | |
| parent | serial: qcom-geni: revert broken hibernation support (diff) | |
| download | kernel-23f5f5debcaac1399cfeacec215278bf6dbc1d11.tar.gz kernel-23f5f5debcaac1399cfeacec215278bf6dbc1d11.zip | |
serial: qcom-geni: fix shutdown race
A commit adding back the stopping of tx on port shutdown failed to add
back the locking which had also been removed by commit e83766334f96
("tty: serial: qcom_geni_serial: No need to stop tx/rx on UART
shutdown").
Holding the port lock is needed to serialise against the console code,
which may update the interrupt enable register and access the port
state.
Fixes: d8aca2f96813 ("tty: serial: qcom-geni-serial: stop operations in progress at shutdown")
Fixes: 947cc4ecc06c ("serial: qcom-geni: fix soft lockup on sw flow control and suspend")
Cc: [email protected] # 6.3
Reviewed-by: Bartosz Golaszewski <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
