Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120263
b: refs/heads/master
c: 5220ed6
h: refs/heads/master
i:
  120261: cbfca6c
  120259: 2d1a237
  120255: 53d9ce8
v: v3
  • Loading branch information
Takashi Iwai committed Dec 1, 2008
1 parent 1fe01be commit 232700b
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 0bc286e2ac72e483d2b5a6dac0dafb05e9f047c8
refs/heads/master: 5220ed6b321639d68a66bad2082456c1b273f3ea
6 changes: 1 addition & 5 deletions trunk/sound/soc/pxa/corgi.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,11 @@ static int corgi_startup(struct snd_pcm_substream *substream)
}

/* we need to unmute the HP at shutdown as the mute burns power on corgi */
static int corgi_shutdown(struct snd_pcm_substream *substream)
static void corgi_shutdown(struct snd_pcm_substream *substream)
{
struct snd_soc_pcm_runtime *rtd = substream->private_data;
struct snd_soc_codec *codec = rtd->socdev->codec;

/* set = unmute headphone */
gpio_set_value(CORGI_GPIO_MUTE_L, 1);
gpio_set_value(CORGI_GPIO_MUTE_R, 1);
return 0;
}

static int corgi_hw_params(struct snd_pcm_substream *substream,
Expand Down

0 comments on commit 232700b

Please sign in to comment.