Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260699
b: refs/heads/master
c: 7cca606
h: refs/heads/master
i:
  260697: 8c33173
  260695: 5064553
v: v3
  • Loading branch information
Peter Ujfalusi committed Jul 7, 2011
1 parent b4384bd commit 33f7695
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 1b7c4725e2e926eaeb8657ac22992ec27fe03135
refs/heads/master: 7cca606794ceb597e95fd0a0f3a8dcdd51af55e0
10 changes: 5 additions & 5 deletions trunk/sound/soc/codecs/twl6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -1013,13 +1013,13 @@ static const struct snd_kcontrol_new ep_driver_switch_controls =
SOC_DAPM_SINGLE("Switch", TWL6040_REG_EARCTL, 0, 1, 0);

/* Headset power mode */
static const char *twl6040_headset_power_texts[] = {
static const char *twl6040_power_mode_texts[] = {
"Low-Power", "High-Perfomance",
};

static const struct soc_enum twl6040_headset_power_enum =
SOC_ENUM_SINGLE_EXT(ARRAY_SIZE(twl6040_headset_power_texts),
twl6040_headset_power_texts);
static const struct soc_enum twl6040_power_mode_enum =
SOC_ENUM_SINGLE_EXT(ARRAY_SIZE(twl6040_power_mode_texts),
twl6040_power_mode_texts);

static int twl6040_headset_power_get_enum(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol)
Expand Down Expand Up @@ -1068,7 +1068,7 @@ static const struct snd_kcontrol_new twl6040_snd_controls[] = {
SOC_SINGLE_TLV("Earphone Playback Volume",
TWL6040_REG_EARCTL, 1, 0xF, 1, ep_tlv),

SOC_ENUM_EXT("Headset Power Mode", twl6040_headset_power_enum,
SOC_ENUM_EXT("Headset Power Mode", twl6040_power_mode_enum,
twl6040_headset_power_get_enum,
twl6040_headset_power_put_enum),
};
Expand Down

0 comments on commit 33f7695

Please sign in to comment.