rocket: kill BKL
authorAlan Cox <alan@linux.intel.com>
Tue, 1 Jun 2010 20:52:45 +0000 (22:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 20:47:40 +0000 (13:47 -0700)
commit417b6e0e146ba38eec5d79777433e38c73d4feb1
treedc93f95ad8221b42ce9ba8c87adfc7a243f78d21
parentec82db129e94c7896e732d21f2bb9ab8e7312fe0
rocket: kill BKL

We can use the port mutex for this and also for the hangup path so removing
the problematic use of the hangup mutex in this driver. Fix up the locking
on the various port flags while we are at it.

Ultimately this driver needs to be using tty_port_ helpers which would sort
this out far better.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/rocket.c