Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331197
b: refs/heads/master
c: 9064cb5
h: refs/heads/master
i:
  331195: 0e7d04b
v: v3
  • Loading branch information
Sylwester Nawrocki authored and Mauro Carvalho Chehab committed Oct 1, 2012
1 parent f4073e0 commit 78de441
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: bbc5296f20570756ca437587325c785a2d96ea96
refs/heads/master: 9064cb5e03b1502782d314b03ea3cbe09992f9a7
4 changes: 3 additions & 1 deletion trunk/drivers/media/i2c/m5mols/m5mols_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ static int __devinit m5mols_probe(struct i2c_client *client,

ret = m5mols_sensor_power(info, true);
if (ret)
goto out_me;
goto out_irq;

ret = m5mols_fw_start(sd);
if (!ret)
Expand All @@ -940,6 +940,8 @@ static int __devinit m5mols_probe(struct i2c_client *client,
ret = m5mols_sensor_power(info, false);
if (!ret)
return 0;
out_irq:
free_irq(client->irq, sd);
out_me:
media_entity_cleanup(&sd->entity);
out_reg:
Expand Down

0 comments on commit 78de441

Please sign in to comment.