commit | 52429eb216385fdc6969c0112ba8b46cffefaaef | [log] [tgz] |
---|---|---|
author | Denis Joseph Barrow <D.Barow@option.com> | Tue Nov 25 00:33:13 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 25 00:33:13 2008 -0800 |
tree | 49ac34f8d779a706a58414c5f64e317bc1b323c2 | |
parent | 89930b7b5e3e9bfe9c6ec5e19920451c8f5d9088 [diff] |
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 <D.Barow@option.com> Signed-off-by: David S. Miller <davem@davemloft.net>