All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/14] ASoC: Update Poodle to current ASoC API
@ 2008-07-29 10:42 Mark Brown
  2008-07-29 10:42 ` [PATCH 02/14] ASoC: Export dapm_reg_event() fully Mark Brown
  2008-07-29 13:36 ` [PATCH 01/14] ASoC: Update Poodle to current ASoC API Takashi Iwai
  0 siblings, 2 replies; 37+ messages in thread
From: Mark Brown @ 2008-07-29 10:42 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Dmitry Baryshkov, alsa-devel, Mark Brown, Richard Purdie

From: Dmitry Baryshkov <dbaryshkov@gmail.com>

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
This is a compile fix and it would therefore be good if it could be
considered for merge into 2.6.27.

 sound/soc/pxa/poodle.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/sound/soc/pxa/poodle.c b/sound/soc/pxa/poodle.c
index 65a4e9a..d968cf7 100644
--- a/sound/soc/pxa/poodle.c
+++ b/sound/soc/pxa/poodle.c
@@ -85,17 +85,13 @@ static int poodle_startup(struct snd_pcm_substream *substream)
 }
 
 /* we need to unmute the HP at shutdown as the mute burns power on poodle */
-static int poodle_shutdown(struct snd_pcm_substream *substream)
+static void poodle_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 */
 	locomo_gpio_write(&poodle_locomo_device.dev,
 		POODLE_LOCOMO_GPIO_MUTE_L, 1);
 	locomo_gpio_write(&poodle_locomo_device.dev,
 		POODLE_LOCOMO_GPIO_MUTE_R, 1);
-	return 0;
 }
 
 static int poodle_hw_params(struct snd_pcm_substream *substream,
@@ -232,7 +228,7 @@ static const struct soc_enum poodle_enum[] = {
 	SOC_ENUM_SINGLE_EXT(2, spk_function),
 };
 
-static const snd_kcontrol_new_t wm8731_poodle_controls[] = {
+static const struct snd_kcontrol_new wm8731_poodle_controls[] = {
 	SOC_ENUM_EXT("Jack Function", poodle_enum[0], poodle_get_jack,
 		poodle_set_jack),
 	SOC_ENUM_EXT("Speaker Function", poodle_enum[1], poodle_get_spk,
-- 
1.5.6.3

^ permalink raw reply related	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2008-08-01 18:10 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29 10:42 [PATCH 01/14] ASoC: Update Poodle to current ASoC API Mark Brown
2008-07-29 10:42 ` [PATCH 02/14] ASoC: Export dapm_reg_event() fully Mark Brown
2008-07-29 10:42   ` [PATCH 03/14] ASoC: Permit simultaneous compilation of both PXA AC97 drivers Mark Brown
2008-07-29 10:42     ` [PATCH 04/14] ASoC: Allow codecs to override register display Mark Brown
2008-07-29 10:42       ` [PATCH 05/14] ASoC: Convert bitfields in ASoC into full int width Mark Brown
2008-07-29 10:42         ` [PATCH 06/14] ASoC: Rename mask to max to reflect usage Mark Brown
2008-07-29 10:42           ` [PATCH 07/14] ASoC: Add OpenFirmware helper for matching bus and codec drivers Mark Brown
2008-07-29 10:42             ` [PATCH 08/14] ASoC: Make OpenFirmware helper include file conditional Mark Brown
2008-07-29 10:42               ` [PATCH 09/14] ASoC: Add mpc5200-psc I2S driver Mark Brown
2008-07-29 10:42                 ` [PATCH 10/14] ASoC: Add Texas Instruments TLV320AIC26 codec driver Mark Brown
2008-07-29 10:42                   ` [PATCH 11/14] ASoC: Export DAI and codec for TLV320AIC26 Mark Brown
2008-07-29 10:42                     ` [PATCH 12/14] ASoC: Staticise keyclick dev_attr in tlv320aic26 Mark Brown
2008-07-29 10:42                       ` [PATCH 13/14] ASoC: AD1980 audio codec driver Mark Brown
2008-07-29 10:42                         ` [PATCH 14/14] ASoC: Add all CODECs Kconfig option Mark Brown
2008-07-29 13:49         ` [PATCH 05/14] ASoC: Convert bitfields in ASoC into full int width Jon Smirl
2008-07-29 13:56           ` Mark Brown
2008-07-29 14:06             ` Jon Smirl
2008-07-29 14:11               ` Takashi Iwai
2008-07-29 13:59           ` Takashi Iwai
2008-08-01  1:41       ` [PATCH 04/14] ASoC: Allow codecs to override register display Jon Smirl
2008-08-01  9:42         ` Takashi Iwai
2008-08-01 10:00           ` Mark Brown
2008-08-01 14:50             ` Jon Smirl
2008-08-01 15:23               ` Takashi Iwai
2008-08-01 15:35                 ` Mark Brown
2008-08-01 15:49                   ` Takashi Iwai
2008-08-01 16:13                     ` Jon Smirl
2008-08-01 16:16                       ` Mark Brown
2008-08-01 16:27                         ` Jon Smirl
2008-08-01 16:40                           ` Mark Brown
2008-08-01 16:35                         ` Takashi Iwai
2008-08-01 17:18                           ` Mark Brown
2008-08-01 17:37                             ` Jon Smirl
2008-08-01 18:10                               ` Mark Brown
2008-07-29 13:36 ` [PATCH 01/14] ASoC: Update Poodle to current ASoC API Takashi Iwai
2008-07-29 13:47   ` Mark Brown
2008-07-29 14:01     ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.