synclink: reworking locking a bit
authorAlan Cox <alan@linux.intel.com>
Tue, 1 Jun 2010 20:52:50 +0000 (22:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 20:47:41 +0000 (13:47 -0700)
commita360fae67bc173942f620d44d1b23cfb5ccaaf96
treebe45781b50fb44586694e265d9ec113e481809f5
parent4287341d4dba27ef8048f589e3c0bc683c9f2017
synclink: reworking locking a bit

Use the port mutex and port lock to fix the various races. The locking
still isn't totally consistent but its better than before. Wants switching
to the port helpers.

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/synclink_gt.c
drivers/char/synclinkmp.c