diff options
| -rw-r--r-- | sound/soc/codecs/tlv320aic3x.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c index 65d09d60b7c6..1514bf845e4b 100644 --- a/sound/soc/codecs/tlv320aic3x.c +++ b/sound/soc/codecs/tlv320aic3x.c | |||
| @@ -187,14 +187,14 @@ static int snd_soc_dapm_put_volsw_aic3x(struct snd_kcontrol *kcontrol, | |||
| 187 | 187 | ||
| 188 | break; | 188 | break; |
| 189 | } | 189 | } |
| 190 | |||
| 191 | if (found) | ||
| 192 | snd_soc_dapm_sync(widget->dapm); | ||
| 193 | } | 190 | } |
| 194 | 191 | ||
| 195 | ret = snd_soc_update_bits(widget->codec, reg, val_mask, val); | ||
| 196 | |||
| 197 | mutex_unlock(&widget->codec->mutex); | 192 | mutex_unlock(&widget->codec->mutex); |
| 193 | |||
| 194 | if (found) | ||
| 195 | snd_soc_dapm_sync(widget->dapm); | ||
| 196 | |||
| 197 | ret = snd_soc_update_bits_locked(widget->codec, reg, val_mask, val); | ||
| 198 | return ret; | 198 | return ret; |
| 199 | } | 199 | } |
| 200 | 200 | ||
