From: Andrei Emeltchenko Date: Wed, 17 Nov 2010 08:31:52 +0000 (+0000) Subject: omap: Serial: Define register access modes in LCR X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f567e88d41330e5d7bfadb66f307a6065d112e70;p=pandora-kernel.git omap: Serial: Define register access modes in LCR Access to some registers depends on register access mode Three different modes are available for OMAP (at least) • Operational mode LCR_REG[7] = 0x0 • Configuration mode A LCR_REG[7] = 0x1 and LCR_REG[7:0]! = 0xBF • Configuration mode B LCR_REG[7] = 0x1 and LCR_REG[7:0] = 0xBF Define access modes and remove redefinitions and magic numbers in serial drivers (and later in bluetooth driver). Signed-off-by: Andrei Emeltchenko Acked-by: Govindraj.R Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed