diff mbox

tm6000: Fix mutex

Message ID 20101229094907.7e2e59c8@glory.local (mailing list archive)
State Accepted
Headers show

Commit Message

Dmitri Belimov Dec. 29, 2010, 12:49 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/staging/tm6000/tm6000-core.c b/drivers/staging/tm6000/tm6000-core.c
index 8c897d7..96aed4a 100644
--- a/drivers/staging/tm6000/tm6000-core.c
+++ b/drivers/staging/tm6000/tm6000-core.c
@@ -722,5 +722,5 @@  void tm6000_close_extension(struct tm6000_core *dev)
 				ops->fini(dev);
 		}
 	}
-	mutex_lock(&tm6000_devlist_mutex);
+	mutex_unlock(&tm6000_devlist_mutex);
 }

Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>