Staging: sep: Implement some proper open/close methods
authorAlan Cox <alan@linux.intel.com>
Fri, 14 Aug 2009 14:41:16 +0000 (15:41 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:15 +0000 (12:02 -0700)
commit4c29e9799878b6a5fc9ec37d40132c2380911e0f
tree8627008b311621ab6fafcbd1627b6c7840757ac7
parent6f13ea3df5de2af5c50e15218553c2434e455be9
Staging: sep: Implement some proper open/close methods

Use the mutex as a protection for open close rather than leaving it hanging
invalidly across userspace.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/sep/sep_dev.h
drivers/staging/sep/sep_driver.c