commit | da619f5575e111f176f9f6d888dbeaf3210ff1f2 | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Thu Apr 04 14:59:01 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 05 14:33:19 2013 -0700 |
tree | 74c64eab994f341196b4cece8c06b0c25a0b87ac | |
parent | db2e3487a5fa1f650680c672e0742d943039d2cc [diff] |
staging: comedi: change comedi_file_info_table_lock to mutex The spin-lock `comedi_file_info_table_lock` is used to protect against simultaneous modification and access of `comedi_file_info_table[]`. Change it from a spin-lock to a mutex as it is only used in contexts where sleeping is allowed. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>