From: Jiada Wang Date: Tue, 9 Dec 2014 09:11:23 +0000 (+0900) Subject: serial: imx: use locking to stop concurrent access of UCR1 X-Git-Tag: fixes-v4.0-rc1~98^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73631813c1ed17437e9de86f82a477fa4bac90c1;p=pandora-kernel.git serial: imx: use locking to stop concurrent access of UCR1 Several places are accessing the UCR1 register without locking. This probably will cause a race issue when another thread is accessing the same register. Add locking to preventing concurrent access of the UCR1 register. Signed-off-by: Jiada Wang Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed