From 3946f6ea3f51f51440e88ae11cac63ad083a7b81 Mon Sep 17 00:00:00 2001 From: Dhoat Harpal Date: Mon, 20 Nov 2017 16:36:27 +0530 Subject: [PATCH] soc: qcom: glink_pkt: Modify conversion of CTS/DTR signals SMD_DTR_SIG and SMD_CTS_SIG signals are converted to TIOCM_DTR and TIOCM_RTS respectively, for client notification. This is incorrect conversion. SMD_DTR_SIG and SMD_CTS_SIG signals conversion is modified to TIOCM_DSR and TIOCM_CTS respectively. CRs-Fixed: 2148119 Change-Id: I7cd61afe4639fc7c5fd993f4047fad3ff04c53a7 Signed-off-by: Dhoat Harpal --- drivers/soc/qcom/msm_glink_pkt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/qcom/msm_glink_pkt.c b/drivers/soc/qcom/msm_glink_pkt.c index 0a80016f1942..2a2d213f8ca0 100644 --- a/drivers/soc/qcom/msm_glink_pkt.c +++ b/drivers/soc/qcom/msm_glink_pkt.c @@ -66,9 +66,9 @@ #define map_from_smd_trans_signal(sigs) \ do { \ if (sigs & SMD_DTR_SIG) \ - sigs |= TIOCM_DTR; \ + sigs |= TIOCM_DSR; \ if (sigs & SMD_CTS_SIG) \ - sigs |= TIOCM_RTS; \ + sigs |= TIOCM_CTS; \ if (sigs & SMD_CD_SIG) \ sigs |= TIOCM_CD; \ if (sigs & SMD_RI_SIG) \