Commit 4ae26f46c98f58ef19ad34f475617b40740d2faa
1 parent
ef7fc9026f
Exists in
master
and in
39 other branches
serial: sh-sci: build fixes.
This fixes up the port_rx_irq_mask() REIE flag definition as well as a debug printk blowing up on the SCSCR_INIT having gone away. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/serial/sh-sci.c
... | ... | @@ -794,7 +794,7 @@ |
794 | 794 | * it's unset, it's logically inferred that there's no point in |
795 | 795 | * testing for it. |
796 | 796 | */ |
797 | - return SCSCR_RIE | (to_sci_port(port)->scscr & SCSR_REIE); | |
797 | + return SCSCR_RIE | (to_sci_port(port)->scscr & SCSCR_REIE); | |
798 | 798 | } |
799 | 799 | |
800 | 800 | static irqreturn_t sci_mpxed_interrupt(int irq, void *ptr) |
... | ... | @@ -1540,7 +1540,7 @@ |
1540 | 1540 | sci_out(port, SCSMR, smr_val); |
1541 | 1541 | |
1542 | 1542 | dev_dbg(port->dev, "%s: SMR %x, t %x, SCSCR %x\n", __func__, smr_val, t, |
1543 | - SCSCR_INIT(port)); | |
1543 | + s->scscr); | |
1544 | 1544 | |
1545 | 1545 | if (t > 0) { |
1546 | 1546 | if (t >= 256) { |