summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-01-06 11:46:54 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2010-01-06 11:46:54 +1100
commitcc40e1f249c9d80bbc1c8b41eeb2f527a4917140 (patch)
tree7bef9ef80b54ebca6dc2fd57026ef0b6d9d04a57
parentea1997bfce1ce3ac8fae56f8dad081261eed9d49 (diff)
parentad75832be8f05a5afac0141e96a077dc6cff05ae (diff)
Merge branch 'quilt/tty.current'
-rw-r--r--drivers/serial/imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/imx.c b/drivers/serial/imx.c
index 18130f11238e..60d665a17a88 100644
--- a/drivers/serial/imx.c
+++ b/drivers/serial/imx.c
@@ -1088,7 +1088,7 @@ imx_console_get_options(struct imx_port *sport, int *baud,
int *parity, int *bits)
{
- if ( readl(sport->port.membase + UCR1) | UCR1_UARTEN ) {
+ if (readl(sport->port.membase + UCR1) & UCR1_UARTEN) {
/* ok, the port was enabled */
unsigned int ucr2, ubir,ubmr, uartclk;
unsigned int baud_raw;