]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/arm/mach-omap2/clock.c
Merge branch 'next/fixes2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux...
[linux-beck.git] / arch / arm / mach-omap2 / clock.c
index 180299e4a838c05a2e2ce30afdfdbd49f6cd1524..bf9c36c7dffd55d073702597dd8e95f31544207d 100644 (file)
@@ -453,6 +453,7 @@ int __init omap2_clk_switch_mpurate_at_boot(const char *mpurate_ck_name)
        if (IS_ERR_VALUE(r)) {
                WARN(1, "clock: %s: unable to set MPU rate to %d: %d\n",
                     mpurate_ck->name, mpurate, r);
+               clk_put(mpurate_ck);
                return -EINVAL;
        }