Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110060
b: refs/heads/master
c: 9778e9a
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare authored and Takashi Iwai committed Sep 29, 2008
1 parent b662ad5 commit 0e6bfba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: ec2cd95f340fb07b905839ee219b3846ecf58396
refs/heads/master: 9778e9a0eafe796c2affcd1fa1fa8a3765e026e6
7 changes: 1 addition & 6 deletions trunk/sound/soc/codecs/cs4270.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,17 +610,12 @@ static int cs4270_i2c_probe(struct i2c_client *i2c_client,
return 0;

error:
if (codec->control_data) {
i2c_detach_client(i2c_client);
codec->control_data = NULL;
}
codec->control_data = NULL;

kfree(codec->reg_cache);
codec->reg_cache = NULL;
codec->reg_cache_size = 0;

kfree(i2c_client);

return ret;
}

Expand Down

0 comments on commit 0e6bfba

Please sign in to comment.