Skip to contentSkip to conversation

sh: Update SuperH serial driver

PATCH New Nobuhiro Iwamatsu 1 participant 1 message Nov 17, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: Update SuperH serial driver

The address of SCFSR register is wrong at SH7720/SH7721. This patch fix this.

---
 drivers/serial/serial_sh.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/serial/serial_sh.c +1 -1
index f30532b..1d76a19 100644
@@ -94,7 +94,7 @@
 # define LSR_ORER	1
 # define FIFOLEVEL_MASK	0x1F
 #elif defined(CONFIG_CPU_SH7720)
-# define SCLSR		(vu_short *)(SCIF_BASE + 0x24)
+# define SCLSR		SCFSR
 # define LSR_ORER	0x0200
 # define FIFOLEVEL_MASK	0x1F
 #elif defined(CONFIG_CPU_SH7710) || \
Signature · 1 line
1.5.6.5