All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] ASoC: omap: rx51: Use gpio_request_one to configure tvout_sel gpio
@ 2011-02-14 15:20 Jarkko Nikula
  2011-02-14 15:20 ` [PATCH 2/3] ASoC: omap: rx51: Add headset support Jarkko Nikula
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jarkko Nikula @ 2011-02-14 15:20 UTC (permalink / raw)
  To: alsa-devel; +Cc: Mark Brown, Liam Girdwood

Just slight cleanup to be sync with upcoming change.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
---
 sound/soc/omap/rx51.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/omap/rx51.c b/sound/soc/omap/rx51.c
index 2d7d411..9411969 100644
--- a/sound/soc/omap/rx51.c
+++ b/sound/soc/omap/rx51.c
@@ -394,10 +394,10 @@ static int __init rx51_soc_init(void)
 	if (!machine_is_nokia_rx51())
 		return -ENODEV;
 
-	err = gpio_request(RX51_TVOUT_SEL_GPIO, "tvout_sel");
+	err = gpio_request_one(RX51_TVOUT_SEL_GPIO,
+			       GPIOF_DIR_OUT | GPIOF_INIT_LOW, "tvout_sel");
 	if (err)
 		goto err_gpio_tvout_sel;
-	gpio_direction_output(RX51_TVOUT_SEL_GPIO, 0);
 
 	rx51_snd_device = platform_device_alloc("soc-audio", -1);
 	if (!rx51_snd_device) {
-- 
1.7.0.4

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

end of thread, other threads:[~2011-02-15 21:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-14 15:20 [PATCH 1/3] ASoC: omap: rx51: Use gpio_request_one to configure tvout_sel gpio Jarkko Nikula
2011-02-14 15:20 ` [PATCH 2/3] ASoC: omap: rx51: Add headset support Jarkko Nikula
2011-02-14 15:20 ` [PATCH 3/3] ASoC: omap: rx51: Report headset insertion instead of video out cable Jarkko Nikula
2011-02-14 15:58 ` [PATCH 1/3] ASoC: omap: rx51: Use gpio_request_one to configure tvout_sel gpio Mark Brown
2011-02-15 21:54 ` Liam Girdwood

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.