From: Martyn Welch Date: Thu, 29 Oct 2009 16:35:08 +0000 (+0000) Subject: Staging: vme: Correct operation of vme_lm_free X-Git-Tag: v2.6.33-rc1~313^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8be9226c8f686c6dd2bae0a7ed4f5795e89d32d8;p=pandora-kernel.git Staging: vme: Correct operation of vme_lm_free The vme_lm_free() function is not clearing up the resource created in vme_lm_request(). In addition vme_lm_free() is void function and is used in exit/error paths, we should wait for mutex to become free rather than exiting and not freeing the resource. Signed-off-by: Martyn Welch Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed