commit | 72abd2288318a35fbf225b93a31d4623e3b8c872 | [log] [tgz] |
---|---|---|
author | Dongxiao Xu <dongxiao.xu@intel.com> | Sun May 31 14:43:42 2009 +0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Jun 19 11:00:55 2009 -0700 |
tree | 9ce193ab0c02b57cb2ef59009d4aafd98c3176df | |
parent | 171df6381962b463e5aa8ff936eb3f995a56ce9e [diff] |
Staging: heci: fix spinlock order mess of device_lock and read_io_lock In orginal code, the device_lock and read_io_lock is mess order when nested, which may bring dead lock. This patch unify the spinlock order of device_lock and read_io_lock. First acquire device_lock, then read_io_lock. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>