From: Ian Abbott Date: Thu, 4 Apr 2013 13:59:01 +0000 (+0100) Subject: staging: comedi: change comedi_file_info_table_lock to mutex X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~287 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da619f5575e111f176f9f6d888dbeaf3210ff1f2;p=pandora-kernel.git 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 Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed