serial: msm_geni_serial: Enable SW flow on in runtime suspend

Stop_rx is bailing out in the runtime suspend path because of
parallel data from SOC and there is no SW  FLOW ON from UART,
causing SOC unable to send RX data to host.

Enabled SW flow on if the stop_rx is bailing out during
runtime suspend.

Change-Id: I0dd52fafe99466e6177a60a108132f25a5be570b
Signed-off-by: Yatish Kumar Singh <yatishku@codeaurora.org>
This commit is contained in:
Yatish Kumar Singh
2021-08-27 16:02:43 +05:30
parent cbd97cb475
commit 5f5b4d05fe

View File

@@ -3639,6 +3639,8 @@ static int msm_geni_serial_runtime_suspend(struct device *dev)
if (ret) {
IPC_LOG_MSG(port->ipc_log_pwr, "%s: stop rx failed %d\n",
__func__, ret);
/* Flow on from UART */
msm_geni_serial_allow_rx(port);
return -EBUSY;
}