diff options
| author | Ryan Case <[email protected]> | 2018-11-29 18:18:40 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-12-05 11:02:38 +0100 |
| commit | a1fee899e5bed457afc20a6a2ff3915a95cc5942 (patch) | |
| tree | 61061cbec5201654814509239d96be510bed8297 /scripts/stackusage | |
| parent | d02337d29d33da6f1f83bebd7d3997e78df1df9e (diff) | |
tty: serial: qcom_geni_serial: Fix softlock
Transfers were being divided into device FIFO sized (64 byte max)
operations which would poll for completion within a spin_lock_irqsave /
spin_unlock_irqrestore block. This both made things slow by waiting for
the FIFO to completely drain before adding further data and would also
result in softlocks on large transmissions.
This patch allows larger transfers with continuous FIFO additions as
space becomes available and removes polling from the interrupt handler.
Signed-off-by: Ryan Case <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions