From: Denis Joseph Barrow Date: Tue, 25 Nov 2008 08:33:13 +0000 (-0800) Subject: hso: Fix free of mutexes still in use. X-Git-Tag: v2.6.29-rc1~581^2~500 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52429eb216385fdc6969c0112ba8b46cffefaaef;p=pandora-kernel.git hso: Fix free of mutexes still in use. A new structure hso_mutex_table had to be declared statically & used as as hso_device mutex_lock(&serial->parent->mutex) etc is freed in hso_serial_open & hso_serial_close by kref_put while the mutex is still in use. This is a substantial change but should make the driver much stabler. Signed-off-by: Denis Joseph Barrow Signed-off-by: David S. Miller --- Reading git-diff-tree failed