From: Mauro Carvalho Chehab Date: Tue, 26 Aug 2014 18:04:34 +0000 (-0300) Subject: Revert "[media] staging: omap4iss: copy paste error in iss_get_clocks" X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=821ee47e0ef589c75c0c10411463c8cd795afafb;p=linux-beck.git Revert "[media] staging: omap4iss: copy paste error in iss_get_clocks" This patch readded a call to iss_put_clocks(), with was removed by changeset 1153be56a105, causing a compilation breakage. This reverts commit d4b32646468088323f27a7788ce3b07191015142. --- diff --git a/drivers/staging/media/omap4iss/iss.c b/drivers/staging/media/omap4iss/iss.c index 8a23d164e847..d548371db65a 100644 --- a/drivers/staging/media/omap4iss/iss.c +++ b/drivers/staging/media/omap4iss/iss.c @@ -1014,7 +1014,6 @@ static int iss_get_clocks(struct iss_device *iss) iss->iss_ctrlclk = devm_clk_get(iss->dev, "iss_ctrlclk"); if (IS_ERR(iss->iss_ctrlclk)) { dev_err(iss->dev, "Unable to get iss_ctrlclk clock info\n"); - iss_put_clocks(iss); return PTR_ERR(iss->iss_ctrlclk); }