Thread (14 messages) 14 messages, 3 authors, 2015-09-29

Re: [PATCH 3/7] tty: serial: msm: Fix command Stale Event Enable definition

From: Stephen Boyd <hidden>
Date: 2015-09-18 23:33:21
Also in: linux-arm-msm, linux-devicetree, lkml

On 09/12, Ivan T. Ivanov wrote:
quoted hunk ↗ jump to hunk
Stale Event Enable command should be 5 not 8, fix this.

Signed-off-by: Ivan T. Ivanov <redacted>
---
 drivers/tty/serial/msm_serial.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/msm_serial.h b/drivers/tty/serial/msm_serial.h
index 60917d30c6b5..223f961f992a 100644
--- a/drivers/tty/serial/msm_serial.h
+++ b/drivers/tty/serial/msm_serial.h
@@ -59,7 +59,7 @@
 #define UART_CR_CMD_SET_RFR		(13 << 4)
 #define UART_CR_CMD_RESET_RFR		(14 << 4)
 #define UART_CR_CMD_PROTECTION_EN	(16 << 4)
-#define UART_CR_CMD_STALE_EVENT_ENABLE	(80 << 4)
+#define UART_CR_CMD_STALE_EVENT_ENABLE	(5 << 8)
I don't get this one

 5 << 8 == 80 << 4

so this makes no difference.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help