commit | 077664a2644ff6fa0fb1a0c15be96fed359d09f4 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Fri Sep 14 20:25:48 2012 +0200 |
committer | Paul Mundt <lethal@linux-sh.org> | Tue Sep 18 16:54:46 2012 +0900 |
tree | b09b296f19553512c550418da3396a7003b384d5 | |
parent | d4b7c5db429fbfd3c79120b27ccf66d583606b57 [diff] |
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 <laurent.pinchart@ideasonboard.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>