Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119047
b: refs/heads/master
c: 272966c
h: refs/heads/master
i:
  119045: 242dc88
  119043: be53f13
  119039: 45ddee2
v: v3
  • Loading branch information
Paul Mundt committed Nov 13, 2008
1 parent 696a300 commit 1c0f926
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5d52013cbb3d39bde9f5a6023193058eeb112e98
refs/heads/master: 272966c070237c8cb540fe67e06df51bc6ea9cc2
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/early_printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ static void scif_sercon_putc(int c)
while (((sci_in(&scif_port, SCFDR) & EPK_FIFO_BITS) >= EPK_FIFO_SIZE))
;

sci_out(&scif_port, SCxTDR, c);
sci_in(&scif_port, SCxSR);
sci_out(&scif_port, SCxSR, 0xf3 & ~(0x20 | 0x40));
sci_out(&scif_port, SCxTDR, c);

while ((sci_in(&scif_port, SCxSR) & 0x40) == 0)
;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ static void put_char(struct uart_port *port, char c)
status = sci_in(port, SCxSR);
} while (!(status & SCxSR_TDxE(port)));

sci_out(port, SCxTDR, c);
sci_in(port, SCxSR); /* Dummy read */
sci_out(port, SCxSR, SCxSR_TDxE_CLEAR(port));
sci_out(port, SCxTDR, c);

spin_unlock_irqrestore(&port->lock, flags);
}
Expand Down

0 comments on commit 1c0f926

Please sign in to comment.