From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
To: Jean Delvare <khali@linux-fr.org>
Cc: Roman Zippel <zippel@linux-m68k.org>,
Linus Torvalds <torvalds@osdl.org>,
Ricardo Cerqueira <v4l@cerqueira.org>,
linux-kernel@vger.kernel.org, video4linux-list@redhat.com
Subject: Re: Recursive dependency for SAA7134 in 2.6.15-rc7
Date: Fri, 30 Dec 2005 08:01:21 -0200 [thread overview]
Message-ID: <1135936882.7465.18.camel@localhost> (raw)
In-Reply-To: <20051229220730.1c22b1a4.khali@linux-fr.org>
[-- Attachment #1: Type: text/plain, Size: 636 bytes --]
Hi, Jean and Roman,
Em Qui, 2005-12-29 às 22:07 +0100, Jean Delvare escreveu:
> Hi Roman,
>
> > On Thursday 29 December 2005 21:13, Jean Delvare wrote:
> >
> > > No, it wouldn't produce the desired effect anymore.
> >
> > Did you try it?
Using choice with two tristate config options seems to provide the
better look and feel, while keeping the desired effect. The only
drawback is that Kconfig doesn't accept default values for the "config"
inside a choice. It would be nice if both choice and the ALSA/OSS
options be marked as "m" by default.
Anyway, IMHO, this is better and clearer than the previous patches.
Cheers,
Mauro.
[-- Attachment #2: v4l_dvb_tmp_saa7134_choice.patch --]
[-- Type: text/x-patch, Size: 1683 bytes --]
V4L/DVB: change alsa/oss option to choice
Using tristate choice Kconfig option seems to produce a better result.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
---
drivers/media/video/saa7134/Kconfig | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/drivers/media/video/saa7134/Kconfig b/drivers/media/video/saa7134/Kconfig
index 86e1bb3..70f03f5 100644
--- a/drivers/media/video/saa7134/Kconfig
+++ b/drivers/media/video/saa7134/Kconfig
@@ -12,9 +12,14 @@ config VIDEO_SAA7134
To compile this driver as a module, choose M here: the
module will be called saa7134.
+choice
+ prompt "Philips SAA7134 DMA audio support"
+ depends on VIDEO_SAA7134 && SOUND
+ default m
+
config VIDEO_SAA7134_ALSA
- tristate "Philips SAA7134 DMA audio support"
- depends on VIDEO_SAA7134 && SND
+ tristate "ALSA audio support"
+ depends on SND
select SND_PCM_OSS
---help---
This is a video4linux driver for direct (DMA) audio in
@@ -24,8 +29,8 @@ config VIDEO_SAA7134_ALSA
module will be called saa7134-alsa.
config VIDEO_SAA7134_OSS
- tristate "Philips SAA7134 DMA audio support (OSS, DEPRECATED)"
- depends on VIDEO_SAA7134 && SOUND_PRIME && (!VIDEO_SAA7134_ALSA || (VIDEO_SAA7134_ALSA=m && m))
+ tristate "OSS audio support (DEPRECATED)"
+ depends on SOUND_PRIME
---help---
This is a video4linux driver for direct (DMA) audio in
Philips SAA713x based TV cards using OSS
@@ -34,6 +39,7 @@ config VIDEO_SAA7134_OSS
To compile this driver as a module, choose M here: the
module will be called saa7134-oss.
+endchoice
config VIDEO_SAA7134_DVB
tristate "DVB/ATSC Support for saa7134 based TV cards"
next prev parent reply other threads:[~2005-12-30 10:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-27 20:53 Recursive dependency for SAA7134 in 2.6.15-rc7 Jean Delvare
2005-12-27 23:40 ` Mauro Carvalho Chehab
2005-12-28 20:02 ` Jean Delvare
2005-12-28 20:10 ` Mauro Carvalho Chehab
2005-12-29 20:00 ` Roman Zippel
2005-12-29 20:13 ` Jean Delvare
2005-12-29 20:19 ` Roman Zippel
2005-12-29 21:07 ` Jean Delvare
2005-12-30 10:01 ` Mauro Carvalho Chehab [this message]
2005-12-30 11:06 ` Jean Delvare
2005-12-30 13:39 ` Mauro Carvalho Chehab
2005-12-31 18:39 ` Jean Delvare
2006-01-05 4:15 ` Roman Zippel
2006-01-05 8:28 ` Jean Delvare
2005-12-29 3:20 ` Roman Zippel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1135936882.7465.18.camel@localhost \
--to=mchehab@brturbo.com.br \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
--cc=v4l@cerqueira.org \
--cc=video4linux-list@redhat.com \
--cc=zippel@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox