From: Laurent Pinchart Date: Fri, 14 Sep 2012 18:25:48 +0000 (+0200) Subject: sh: pfc: Release spinlock in sh_pfc_gpio_request_enable() error path X-Git-Tag: v3.6-rc7~27^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=077664a2644ff6fa0fb1a0c15be96fed359d09f4;p=pandora-kernel.git sh: pfc: Release spinlock in sh_pfc_gpio_request_enable() error path The sh_pfc_gpio_request_enable() function acquires a spinlock but fails to release it before returning if the requested mux type is not supported. Fix this. Signed-off-by: Laurent Pinchart Signed-off-by: Paul Mundt --- Reading git-diff-tree failed