All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Clemens Ladisch" <clemens@ladisch.de>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: [alsa-cvslog] alsa-kernel: fm801: move CONFIG_VIDEO_DEV dependency to CONFIG_SND_FM801_TEA575X_BOOL
Date: Fri, 18 Aug 2006 11:25:06 +0200	[thread overview]
Message-ID: <1155893106.18755.268671127@webmail.messagingengine.com> (raw)
In-Reply-To: <s5hr6zez9xb.wl%tiwai@suse.de>

Takashi Iwai wrote:
> Clemens Ladisch wrote:
> > Takashi Iwai wrote:
> > > Clemens Ladisch wrote:
> > > > files:       pci/Kconfig
> > > > description:
> > > > fm801: move CONFIG_VIDEO_DEV dependency to CONFIG_SND_FM801_TEA575X_BOOL
> > > > 
> > > > Move the CONFIG_VIDEO_DEV dependency from CONFIG_SND_FM801_TEA575X to
> > > > CONFIG_SND_FM801_TEA575X_BOOL so that the two symbol always have
> > > > consistent values even when compiled externally.
> > > 
> > > Is it a really correct fix?
> > > It looks like that this forces CONFIG_VIDEO_DEV=y even though it's not
> > > necessarily so.
> > 
> > Uh, yes.
> > 
> > I guess a better fix would be to change the code to not look at
> > CONFIG_SND_FM801_TEA575X_BOOL at all.
> 
> Well, CONFIG_SND_FM801_TEA575X_BOOL was introduced exactly for the
> purpose to fix the messy dependency in Kconfig, so it is apparently
> correct (e.g. CONFIG_VIDEO_DEV has to be y if FM801 is y).

But when compiling externally when CONFIG_VIDEO_DEV isn't set,
CONFIG_SND_FM801_TEA575X will not be set although
CONFIG_SND_FM801_TEA575X_BOOL is set.  This will result in undefined
references in snd-fm801 because it thinks that it can use the tuner
functions.

> > I'll revert this one and do the change I proposed above over the weekend
> > unless anybody objects.
> 
> I think we can keep it as it is.
> This is a bug, of course, but can be avoided by specifying configure
> options.

That is, I should list all card drivers/options except this one?  ;-)

> Or, just make a temporary patch for fm801.c to add additional ifdef
> check around
> 
> #ifdef CONFIG_SND_FM801_TEA575X_BOOL
> #include <sound/tea575x-tuner.h>
> #define TEA575X_RADIO 1
> #endif
> 
> until we fix configure stuff.

Okay, I'll do this.


Regards,
Clemens

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

  reply	other threads:[~2006-08-18  9:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ALOGGER1155885865.57@alsa-project.org>
2006-08-18  8:04 ` [alsa-cvslog] alsa-kernel: fm801: move CONFIG_VIDEO_DEV dependency to CONFIG_SND_FM801_TEA575X_BOOL Takashi Iwai
2006-08-18  8:56   ` Clemens Ladisch
2006-08-18  9:10     ` Takashi Iwai
2006-08-18  9:25       ` Clemens Ladisch [this message]
2006-08-18  9:40         ` Takashi Iwai
2006-08-18 14:35           ` Clemens Ladisch
2006-08-18 14:42             ` Takashi Iwai
2006-08-21  7:52               ` Clemens Ladisch
2006-08-21 12:32                 ` Takashi Iwai
2006-08-22  7:31                   ` Clemens Ladisch
2006-08-22 11:27                     ` Takashi Iwai

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=1155893106.18755.268671127@webmail.messagingengine.com \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=tiwai@suse.de \
    /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 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.