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)
commit0a68f64febf365313987c570ad59c9069f61306d
tree4c0c00f0c6374038eb6a42195e77b2b30411f6bb
parent530646f4695b396aeeec2ca912dcc3a9c95e0f52
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