···922922 isi->fb_descriptors_phys);923923924924 iounmap(isi->regs);925925+ clk_unprepare(isi->mck);925926 clk_put(isi->mck);927927+ clk_unprepare(isi->pclk);926928 clk_put(isi->pclk);927929 kfree(isi);928930···957955 if (IS_ERR(pclk))958956 return PTR_ERR(pclk);959957958958+ ret = clk_prepare(pclk);959959+ if (ret)960960+ goto err_clk_prepare_pclk;961961+960962 isi = kzalloc(sizeof(struct atmel_isi), GFP_KERNEL);961963 if (!isi) {962964 ret = -ENOMEM;···983977 ret = PTR_ERR(isi->mck);984978 goto err_clk_get;985979 }980980+981981+ ret = clk_prepare(isi->mck);982982+ if (ret)983983+ goto err_clk_prepare_mck;986984987985 /* Set ISI_MCK's frequency, it should be faster than pixel clock */988986 ret = clk_set_rate(isi->mck, pdata->mck_hz);···10691059 isi->fb_descriptors_phys);10701060err_alloc_descriptors:10711061err_set_mck_rate:10621062+ clk_unprepare(isi->mck);10631063+err_clk_prepare_mck:10721064 clk_put(isi->mck);10731065err_clk_get:10741066 kfree(isi);10751067err_alloc_isi:10681068+ clk_unprepare(pclk);10691069+err_clk_prepare_pclk:10761070 clk_put(pclk);1077107110781072 return ret;