Merge tag 'fscache-next-20210829' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / arch / m68k / coldfire / clk.c
index 2ed841e..d03b6c4 100644 (file)
@@ -78,7 +78,7 @@ int clk_enable(struct clk *clk)
        unsigned long flags;
 
        if (!clk)
-               return -EINVAL;
+               return 0;
 
        spin_lock_irqsave(&clk_lock, flags);
        if ((clk->enabled++ == 0) && clk->clk_ops)