Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257549
b: refs/heads/master
c: bab3b59
h: refs/heads/master
i:
  257547: d128fb4
v: v3
  • Loading branch information
Taylor Hutt authored and Mark Brown committed Jun 21, 2011
1 parent 5b7b08f commit 5d8f48c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: c20974090e9093b8b69b37543cba381336c41ab7
refs/heads/master: bab3b59d531bb4dd04d2996dd553ab6e38ec8972
8 changes: 4 additions & 4 deletions trunk/sound/soc/codecs/max98095.c
Original file line number Diff line number Diff line change
Expand Up @@ -2259,11 +2259,11 @@ static int max98095_probe(struct snd_soc_codec *codec)

ret = snd_soc_read(codec, M98095_0FF_REV_ID);
if (ret < 0) {
dev_err(codec->dev, "Failed to read device revision: %d\n",
dev_err(codec->dev, "Failure reading hardware revision: %d\n",
ret);
goto err_access;
}
dev_info(codec->dev, "revision %c\n", ret + 'A');
dev_info(codec->dev, "Hardware revision: %c\n", ret - 0x40 + 'A');

snd_soc_write(codec, M98095_097_PWR_SYS, M98095_PWRSV);

Expand Down Expand Up @@ -2340,8 +2340,8 @@ static int max98095_i2c_probe(struct i2c_client *i2c,
max98095->control_data = i2c;
max98095->pdata = i2c->dev.platform_data;

ret = snd_soc_register_codec(&i2c->dev,
&soc_codec_dev_max98095, &max98095_dai[0], 3);
ret = snd_soc_register_codec(&i2c->dev, &soc_codec_dev_max98095,
max98095_dai, ARRAY_SIZE(max98095_dai));
if (ret < 0)
kfree(max98095);
return ret;
Expand Down

0 comments on commit 5d8f48c

Please sign in to comment.