diff options
author | Shahina Shaik <sharab.shaik@gmail.com> | 2014-06-13 01:48:47 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-22 07:03:05 -0400 |
commit | eb72cbdf51d0b12aa2a8169110950d163b5d693b (patch) | |
tree | 1a2c0c151690ae9b6c17fe11116696aa46fc57ef | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) |
ASoC: tlv320aic32x4: Fixed Coding style Issues
Fixed a brace coding style issue in the tlv320aic32x4.c
Signed-off-by: Shahina Shaik <sharab.shaik@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | sound/soc/codecs/tlv320aic32x4.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sound/soc/codecs/tlv320aic32x4.c b/sound/soc/codecs/tlv320aic32x4.c index 1d9b117345a3..1e50f15022bc 100644 --- a/sound/soc/codecs/tlv320aic32x4.c +++ b/sound/soc/codecs/tlv320aic32x4.c | |||
@@ -626,21 +626,18 @@ static int aic32x4_probe(struct snd_soc_codec *codec) | |||
626 | snd_soc_write(codec, AIC32X4_MICBIAS, AIC32X4_MICBIAS_LDOIN | | 626 | snd_soc_write(codec, AIC32X4_MICBIAS, AIC32X4_MICBIAS_LDOIN | |
627 | AIC32X4_MICBIAS_2075V); | 627 | AIC32X4_MICBIAS_2075V); |
628 | } | 628 | } |
629 | if (aic32x4->power_cfg & AIC32X4_PWR_AVDD_DVDD_WEAK_DISABLE) { | 629 | if (aic32x4->power_cfg & AIC32X4_PWR_AVDD_DVDD_WEAK_DISABLE) |
630 | snd_soc_write(codec, AIC32X4_PWRCFG, AIC32X4_AVDDWEAKDISABLE); | 630 | snd_soc_write(codec, AIC32X4_PWRCFG, AIC32X4_AVDDWEAKDISABLE); |
631 | } | ||
632 | 631 | ||
633 | tmp_reg = (aic32x4->power_cfg & AIC32X4_PWR_AIC32X4_LDO_ENABLE) ? | 632 | tmp_reg = (aic32x4->power_cfg & AIC32X4_PWR_AIC32X4_LDO_ENABLE) ? |
634 | AIC32X4_LDOCTLEN : 0; | 633 | AIC32X4_LDOCTLEN : 0; |
635 | snd_soc_write(codec, AIC32X4_LDOCTL, tmp_reg); | 634 | snd_soc_write(codec, AIC32X4_LDOCTL, tmp_reg); |
636 | 635 | ||
637 | tmp_reg = snd_soc_read(codec, AIC32X4_CMMODE); | 636 | tmp_reg = snd_soc_read(codec, AIC32X4_CMMODE); |
638 | if (aic32x4->power_cfg & AIC32X4_PWR_CMMODE_LDOIN_RANGE_18_36) { | 637 | if (aic32x4->power_cfg & AIC32X4_PWR_CMMODE_LDOIN_RANGE_18_36) |
639 | tmp_reg |= AIC32X4_LDOIN_18_36; | 638 | tmp_reg |= AIC32X4_LDOIN_18_36; |
640 | } | 639 | if (aic32x4->power_cfg & AIC32X4_PWR_CMMODE_HP_LDOIN_POWERED) |
641 | if (aic32x4->power_cfg & AIC32X4_PWR_CMMODE_HP_LDOIN_POWERED) { | ||
642 | tmp_reg |= AIC32X4_LDOIN2HP; | 640 | tmp_reg |= AIC32X4_LDOIN2HP; |
643 | } | ||
644 | snd_soc_write(codec, AIC32X4_CMMODE, tmp_reg); | 641 | snd_soc_write(codec, AIC32X4_CMMODE, tmp_reg); |
645 | 642 | ||
646 | /* Mic PGA routing */ | 643 | /* Mic PGA routing */ |