Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270645
b: refs/heads/master
c: ab6cf13
h: refs/heads/master
i:
  270643: b030b35
v: v3
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Sep 22, 2011
1 parent 749b870 commit b74e1af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 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: d13f1fe04412b2319a79ff456cf73cc59692f6fb
refs/heads/master: ab6cf13943303f865320407b17b0f86095d23ce3
11 changes: 3 additions & 8 deletions trunk/include/linux/mfd/twl6040.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,10 @@
#define TWL6040_LPLLFIN 0x08
#define TWL6040_HPLLSEL 0x10

/* HSLCTL (0x10) fields */
/* HSLCTL/R (0x10/0x11) fields */

#define TWL6040_HSDACMODEL 0x02
#define TWL6040_HSDRVMODEL 0x08

/* HSRCTL (0x11) fields */

#define TWL6040_HSDACMODER 0x02
#define TWL6040_HSDRVMODER 0x08
#define TWL6040_HSDACMODE (1 << 1)
#define TWL6040_HSDRVMODE (1 << 3)

/* VIBCTLL (0x18) fields */

Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/codecs/twl6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ static int pga_event(struct snd_soc_dapm_widget *w,
static int headset_power_mode(struct snd_soc_codec *codec, int high_perf)
{
int hslctl, hsrctl;
int mask = TWL6040_HSDRVMODEL | TWL6040_HSDACMODEL;
int mask = TWL6040_HSDRVMODE | TWL6040_HSDACMODE;

hslctl = twl6040_read_reg_cache(codec, TWL6040_REG_HSLCTL);
hsrctl = twl6040_read_reg_cache(codec, TWL6040_REG_HSRCTL);
Expand Down

0 comments on commit b74e1af

Please sign in to comment.