Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190828
b: refs/heads/master
c: 8213466
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed May 12, 2010
1 parent d4732a1 commit d8f1639
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: 9fe17b5d47d3d3c85b35623dea8f571a184134c0
refs/heads/master: 8213466596bf10b75887754773ee13c10cf86f5c
6 changes: 3 additions & 3 deletions trunk/sound/pci/ice1712/maya44.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ static int maya_gpio_sw_put(struct snd_kcontrol *kcontrol,

/* known working input slots (0-4) */
#define MAYA_LINE_IN 1 /* in-2 */
#define MAYA_MIC_IN 4 /* in-5 */
#define MAYA_MIC_IN 3 /* in-4 */

static void wm8776_select_input(struct snd_maya44 *chip, int idx, int line)
{
Expand Down Expand Up @@ -393,8 +393,8 @@ static int maya_rec_src_put(struct snd_kcontrol *kcontrol,
int changed;

mutex_lock(&chip->mutex);
changed = maya_set_gpio_bits(chip->ice, GPIO_MIC_RELAY,
sel ? GPIO_MIC_RELAY : 0);
changed = maya_set_gpio_bits(chip->ice, 1 << GPIO_MIC_RELAY,
sel ? (1 << GPIO_MIC_RELAY) : 0);
wm8776_select_input(chip, 0, sel ? MAYA_MIC_IN : MAYA_LINE_IN);
mutex_unlock(&chip->mutex);
return changed;
Expand Down

0 comments on commit d8f1639

Please sign in to comment.