From: Alan Cox Date: Mon, 30 Nov 2009 13:18:02 +0000 (+0000) Subject: tty: moxa: Locking clean up X-Git-Tag: v2.6.33-rc1~310^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a808ac0c4a2c5d81ba38a2a76d4ddc1de40d1539;p=pandora-kernel.git tty: moxa: Locking clean up - The open lock is needed to fix up the case of a board reset occuring during tty open but too early for a sane hangup response. - The lock can however got for other cases - Use the port mutex for get/setserial - Fix up the confused lack of locking on the THROTTLE and other bits in the private flags. Just use set/test/clear bit and it covers the cases we need Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed