MIPS: Xway: Fix clk leak
authorLibo Chen <clbchenlibo.chen@huawei.com>
Fri, 17 May 2013 05:21:31 +0000 (05:21 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 17 May 2013 18:35:53 +0000 (20:35 +0200)
commitbda97ed39b075e8ac125d4af7cdf60ca19449a16
tree1f6ee96b6402acf6b8e9511d97a5dfa816e67e2b
parent48c4ac976ae995f263cde8f09578de86bc8e9f1d
MIPS: Xway: Fix clk leak

When gptu_r32 fails, we should put clk before returning.

Signed-off-by: Libo Chen <libo.chen@huawei.com>
Acked-by: John Crispin <blogic@openwrt.org>
Cc: grant.likely@linaro.org
Cc: rob.herring@calxeda.com,
Cc: linux-mips@linux-mips.org
Cc: LKML linux-kernel@vger.kernel.org
Cc: Andrew Morton akpm@linux-foundation.org
Cc: Li Zefan lizefan@huawei.com
Patchwork: https://patchwork.linux-mips.org/patch/5247/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lantiq/xway/gptu.c