Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357506
b: refs/heads/master
c: 8cd5d42
h: refs/heads/master
v: v3
  • Loading branch information
Sylwester Nawrocki authored and Mauro Carvalho Chehab committed Feb 6, 2013
1 parent 64c4679 commit 6a4fed2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 05c79d0d1d0d44c2195d63d1e7c62e358eadeadf
refs/heads/master: 8cd5d42ac6d75143ab4bf44a15f76245a7f6c884
7 changes: 4 additions & 3 deletions trunk/drivers/media/platform/s5p-fimc/mipi-csis.c
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ static int s5pcsis_probe(struct platform_device *pdev)
0, dev_name(&pdev->dev), state);
if (ret) {
dev_err(&pdev->dev, "Interrupt request failed\n");
goto e_clkput;
goto e_clkdis;
}

v4l2_subdev_init(&state->sd, &s5pcsis_subdev_ops);
Expand All @@ -789,7 +789,7 @@ static int s5pcsis_probe(struct platform_device *pdev)
ret = media_entity_init(&state->sd.entity,
CSIS_PADS_NUM, state->pads, 0);
if (ret < 0)
goto e_clkput;
goto e_clkdis;

/* This allows to retrieve the platform device id by the host driver */
v4l2_set_subdevdata(&state->sd, pdev);
Expand All @@ -802,8 +802,9 @@ static int s5pcsis_probe(struct platform_device *pdev)
pm_runtime_enable(&pdev->dev);
return 0;

e_clkput:
e_clkdis:
clk_disable(state->clock[CSIS_CLK_MUX]);
e_clkput:
s5pcsis_clk_put(state);
return ret;
}
Expand Down

0 comments on commit 6a4fed2

Please sign in to comment.