Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283917
b: refs/heads/master
c: 0a105dd
h: refs/heads/master
i:
  283915: 3ae7209
v: v3
  • Loading branch information
Mark Brown committed Dec 12, 2011
1 parent c29b444 commit 0722cce
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 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: 43a95197581ac58081772eab3bd5f114da87f98b
refs/heads/master: 0a105ddb35aa702d975cb902d8d2c0cde4f1f231
2 changes: 2 additions & 0 deletions trunk/sound/soc/codecs/wm8958-dsp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ static int wm8958_dsp2_fw(struct snd_soc_codec *codec, const char *name,
}

if (memcmp(fw->data, "WMFW", 4) != 0) {
memcpy(&data32, fw->data, sizeof(data32));
data32 = be32_to_cpu(data32);
dev_err(codec->dev, "%s: firmware has bad file magic %08x\n",
name, data32);
goto err;
Expand Down
5 changes: 3 additions & 2 deletions trunk/sound/soc/pxa/hx4700.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,10 @@ static int __devinit hx4700_audio_probe(struct platform_device *pdev)
snd_soc_card_hx4700.dev = &pdev->dev;
ret = snd_soc_register_card(&snd_soc_card_hx4700);
if (ret)
return ret;
gpio_free_array(hx4700_audio_gpios,
ARRAY_SIZE(hx4700_audio_gpios));

return 0;
return ret;
}

static int __devexit hx4700_audio_remove(struct platform_device *pdev)
Expand Down

0 comments on commit 0722cce

Please sign in to comment.