]> git.baikalelectronics.ru Git - kernel.git/commit
sdio_uart: Move the open lock
authorAlan Cox <alan@linux.intel.com>
Thu, 5 Nov 2009 13:28:38 +0000 (13:28 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 23:18:05 +0000 (15:18 -0800)
commit2a0e1102471e540512c9ba6a38c6b12882db8b45
tree4c0c00f0c6374038eb6a42195e77b2b30411f6bb
parent14475ec1cf6f4c48a18dd366b824bebbd49ca7e5
sdio_uart: Move the open lock

When we move to the tty_port logic the port mutex will protect open v close
v hangup. Move to this first in the existing open code so we have a bisection
point.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mmc/card/sdio_uart.c