Skip to content

Commit

Permalink
Merge remote-tracking branch 'asoc/fix/tlv320aic3x' into asoc-linus
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Jun 10, 2013
2 parents 97a47ce + 2894770 commit 4351ac5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sound/soc/codecs/tlv320aic3x.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,14 @@ static int snd_soc_dapm_put_volsw_aic3x(struct snd_kcontrol *kcontrol,

break;
}

if (found)
snd_soc_dapm_sync(widget->dapm);
}

ret = snd_soc_update_bits(widget->codec, reg, val_mask, val);

mutex_unlock(&widget->codec->mutex);

if (found)
snd_soc_dapm_sync(widget->dapm);

ret = snd_soc_update_bits_locked(widget->codec, reg, val_mask, val);
return ret;
}

Expand Down

0 comments on commit 4351ac5

Please sign in to comment.