Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257499
b: refs/heads/master
c: cc4c670
h: refs/heads/master
i:
  257497: a2cd477
  257495: 1af46cd
v: v3
  • Loading branch information
Mark Brown committed Jun 6, 2011
1 parent fe194e2 commit eaf068c
Show file tree
Hide file tree
Showing 2 changed files with 8 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: d4c6005f8e90da10067c35e1182f533582d01a69
refs/heads/master: cc4c670a416a36464443f465f0ddbdc9940d16dd
11 changes: 7 additions & 4 deletions trunk/sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,13 @@ static int snd_soc_dapm_set_bias_level(struct snd_soc_dapm_context *dapm,
if (ret != 0)
goto out;

if (dapm->codec && dapm->codec->driver->set_bias_level)
ret = dapm->codec->driver->set_bias_level(dapm->codec, level);
else
dapm->bias_level = level;
if (dapm->codec) {
if (dapm->codec->driver->set_bias_level)
ret = dapm->codec->driver->set_bias_level(dapm->codec,
level);
else
dapm->bias_level = level;
}
if (ret != 0)
goto out;

Expand Down

0 comments on commit eaf068c

Please sign in to comment.