Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270911
b: refs/heads/master
c: 064a4bc
h: refs/heads/master
i:
  270909: 5ec6123
  270907: 774d73d
  270903: c6f59ee
  270895: d67fff0
  270879: 45bceef
  270847: abf67a1
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Oct 21, 2011
1 parent f1e6f14 commit b63ae2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 5b13de7aa754eaa274fc9ab018191bcdcb21bc45
refs/heads/master: 064a4bcee4114e519ce22d56d2eb8e9dfa653804
6 changes: 3 additions & 3 deletions trunk/sound/soc/codecs/sgtl5000.c
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ static int ldo_regulator_enable(struct regulator_dev *dev)

/* set voltage to register */
snd_soc_update_bits(codec, SGTL5000_CHIP_LINREG_CTRL,
(0x1 << 4) - 1, reg);
SGTL5000_LINREG_VDDD_MASK, reg);

snd_soc_update_bits(codec, SGTL5000_CHIP_ANA_POWER,
SGTL5000_LINEREG_D_POWERUP,
Expand All @@ -780,7 +780,7 @@ static int ldo_regulator_disable(struct regulator_dev *dev)

/* clear voltage info */
snd_soc_update_bits(codec, SGTL5000_CHIP_LINREG_CTRL,
(0x1 << 4) - 1, 0);
SGTL5000_LINREG_VDDD_MASK, 0);

ldo->enabled = 0;

Expand Down Expand Up @@ -1115,7 +1115,7 @@ static int sgtl5000_set_power_regs(struct snd_soc_codec *codec)

/* set voltage to register */
snd_soc_update_bits(codec, SGTL5000_CHIP_LINREG_CTRL,
(0x1 << 4) - 1, 0x8);
SGTL5000_LINREG_VDDD_MASK, 0x8);

/*
* if vddd linear reg has been enabled,
Expand Down

0 comments on commit b63ae2f

Please sign in to comment.