]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - sound/soc/atmel/sam9g20_wm8731.c
ASoC: atmel: test wrong variable
[mirror_ubuntu-artful-kernel.git] / sound / soc / atmel / sam9g20_wm8731.c
index 293569dfd0edec6d70551d90e610a93bba74ad7f..032e17dd8fdb8ff09badb929dc73aa11ae744325 100644 (file)
@@ -222,9 +222,9 @@ static int __init at91sam9g20ek_init(void)
        }
 
        pllb = clk_get(NULL, "pllb");
-       if (IS_ERR(mclk)) {
+       if (IS_ERR(pllb)) {
                printk(KERN_ERR "ASoC: Failed to get PLLB\n");
-               ret = PTR_ERR(mclk);
+               ret = PTR_ERR(pllb);
                goto err_mclk;
        }
        ret = clk_set_parent(mclk, pllb);