Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230313
b: refs/heads/master
c: 5511027
h: refs/heads/master
i:
  230311: 603a8e9
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Nov 30, 2010
1 parent 19bf9b0 commit 84bbea9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 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: c8d6bf9a7b282255cd155b676ff91b08266b8529
refs/heads/master: 551102762ebe8bc0aa867d28960d9be97bbe17c1
12 changes: 5 additions & 7 deletions trunk/sound/soc/codecs/88pm860x-codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,7 @@ static int pm860x_probe(struct snd_soc_codec *codec)
pm860x->name[i], pm860x);
if (ret < 0) {
dev_err(codec->dev, "Failed to request IRQ!\n");
goto out_irq;
goto out;
}
}

Expand All @@ -1369,7 +1369,7 @@ static int pm860x_probe(struct snd_soc_codec *codec)
if (ret < 0) {
dev_err(codec->dev, "Failed to fill register cache: %d\n",
ret);
goto out_codec;
goto out;
}

snd_soc_add_controls(codec, pm860x_snd_controls,
Expand All @@ -1379,12 +1379,10 @@ static int pm860x_probe(struct snd_soc_codec *codec)
snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map));
return 0;

out_codec:
i = 3;
out_irq:
for (; i >= 0; i--)
out:
while (--i >= 0)
free_irq(pm860x->irq[i], pm860x);
return -EINVAL;
return ret;
}

static int pm860x_remove(struct snd_soc_codec *codec)
Expand Down

0 comments on commit 84bbea9

Please sign in to comment.