serial: imx: bit &/| confusion
commit2e2eb509aa7a333fe9931cf306fc7dbc3473f25b
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 9 Dec 2009 20:31:36 +0000 (9 12:31 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Jan 2010 23:03:30 +0000 (20 15:03 -0800)
tree175318968883c5aeadf4ad4552fa51554865898e
parent16ae2a877bf4179737921235e85ceffd7b79354f
serial: imx: bit &/| confusion

Since UCR1_UARTEN is defined 1, the port was always treated as enabled.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Alan Cox <alan@linux.intel.com>
Acked-by: Oskar Schirmer <os@emlix.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Fabian Godehardt <fg@emlix.com>
Cc: Daniel Glöckner <dg@emlix.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/imx.c