diff options
-rw-r--r-- | drivers/serial/icom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/icom.c b/drivers/serial/icom.c index cd1b6a45bb82..060f4e3d54c5 100644 --- a/drivers/serial/icom.c +++ b/drivers/serial/icom.c | |||
@@ -617,7 +617,7 @@ static void shutdown(struct icom_port *icom_port) | |||
617 | * disable break condition | 617 | * disable break condition |
618 | */ | 618 | */ |
619 | cmdReg = readb(&icom_port->dram->CmdReg); | 619 | cmdReg = readb(&icom_port->dram->CmdReg); |
620 | if ((cmdReg | CMD_SND_BREAK) == CMD_SND_BREAK) { | 620 | if (cmdReg & CMD_SND_BREAK) { |
621 | writeb(cmdReg & ~CMD_SND_BREAK, &icom_port->dram->CmdReg); | 621 | writeb(cmdReg & ~CMD_SND_BREAK, &icom_port->dram->CmdReg); |
622 | } | 622 | } |
623 | } | 623 | } |