diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/lantiq/xway/gptu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/lantiq/xway/gptu.c b/arch/mips/lantiq/xway/gptu.c index 9861c8669fab..4fa577c1ddfd 100644 --- a/arch/mips/lantiq/xway/gptu.c +++ b/arch/mips/lantiq/xway/gptu.c | |||
@@ -169,6 +169,8 @@ static int gptu_probe(struct platform_device *pdev) | |||
169 | if (((gptu_r32(GPTU_ID) >> 8) & 0xff) != GPTU_MAGIC) { | 169 | if (((gptu_r32(GPTU_ID) >> 8) & 0xff) != GPTU_MAGIC) { |
170 | dev_err(&pdev->dev, "Failed to find magic\n"); | 170 | dev_err(&pdev->dev, "Failed to find magic\n"); |
171 | gptu_hwexit(); | 171 | gptu_hwexit(); |
172 | clk_disable(clk); | ||
173 | clk_put(clk); | ||
172 | return -ENAVAIL; | 174 | return -ENAVAIL; |
173 | } | 175 | } |
174 | 176 | ||