From: Dongxiao Xu Date: Sun, 31 May 2009 06:43:42 +0000 (+0800) Subject: Staging: heci: fix spinlock order mess of device_lock and read_io_lock X-Git-Tag: v2.6.31-rc1~105^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72abd2288318a35fbf225b93a31d4623e3b8c872;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed